P5710 [Shenji 3. Example 2] Properties of Numbers

Description

Some integers may have the following properties: - Property 1: It is an even number. - Property 2: It is greater than $4$ and not greater than $12$. Xiao A likes integers that satisfy both properties at the same time. Uim likes integers that satisfy at least one of these properties. Xiao B likes integers that satisfy exactly one of these properties. Zhengmei likes integers that satisfy neither of these properties. Now given an integer $x$, determine whether each of them likes this integer.

Input Format

Input an integer $x(0 \le x \le 1000)$.

Output Format

Output whether these $4$ people like this number. Output `1` if they like it, otherwise output `0`, separated by spaces. The output order is: Xiao A, Uim, Xiao B, Zhengmei.

Explanation/Hint

Translated by ChatGPT 5