14 lines
344 B
C++
14 lines
344 B
C++
#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;
|
|
}
|