#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 and not greater than .
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 , determine whether each of them likes this integer.
Input Format
Input an integer .
Output Format
Output whether these 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