You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
344 B
14 lines
344 B
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int x;
|
|
cin >> x;
|
|
cout << ((x % 2 == 0) && (x > 4 && x <= 12)) << " ";
|
|
cout << ((x % 2 == 0) || (x > 4 && x <= 12)) << " ";
|
|
cout << ((x % 2 == 0) ^ (x > 4 && x <= 12)) << " ";
|
|
cout << (!(x % 2 == 0) && !(x > 4 && x <= 12)) << " ";
|
|
return 0;
|
|
}
|