#P5710. Integer Preference Evaluation

    ID: 18938 Type: Default 1000ms 256MiB

Integer Preference Evaluation

Integer Preference Evaluation

Some integers may have the following properties:

  • Property 1: The integer is even.
  • Property 2: The integer is greater than \(4\) and not greater than \(12\).

There are four individuals with their preferences on the integer x:

  • A likes the integer if both properties hold.
  • Uim likes the integer if at least one property holds.
  • B likes the integer if exactly one property holds.
  • Zhengmei likes the integer if none of the properties hold.

Given an integer \(x\), determine whether each person likes the integer. Output four lines corresponding to A, Uim, B, and Zhengmei in that order, printing Yes if the person likes the integer and No otherwise.

inputFormat

The input consists of a single integer \(x\) on one line.

outputFormat

Output four lines, where each line contains either Yes or No corresponding to the preferences of A, Uim, B, and Zhengmei respectively.

sample

2
No

Yes Yes No

</p>