B. [例3.2]数的性质

    Type: Default 1000ms 256MiB

[例3.2]数的性质

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

一些整数可能拥有以下的性质:

  • 性质 1:是偶数;
  • 性质 2:大于 44 且不大于 1212

小 A 喜欢这两个性质同时成立的整数;Uim 喜欢这至少符合其中一种性质的整数;小 B 喜欢刚好有符合其中一个性质的整数;正妹喜欢不符合这两个性质的整数。现在给出一个整数 xx,请问他们是否喜欢这个整数?

输入格式

输入一个整数 x(0x1000)x(0\le x \le 1000)

输出格式

输出这 44 个人是否喜欢这个数字,如果喜欢则输出 1,否则输出 0,用空格分隔。输出顺序为:小 A、Uim、小 B、正妹。

样例 #1

样例输入 #1

12

样例输出 #1

1 1 0 0

龙凤苑中学B班4.25

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2024-4-23 14:15
End at
2024-4-27 14:15
Duration
96 hour(s)
Host
Partic.
11