#P5710. 【深基3.例2】数的性质

【深基3.例2】数的性质

Problem Description

Some integers may have the following properties:

  • Property 1: It is an even number.
  • Property 2: It is greater than 44 and not greater than 1212.

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 xx, determine whether each of them likes this integer.

Input Format

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

Output Format

Output whether these 44 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.

12
1 1 0 0

Hint

Translated by ChatGPT 5