#include<stdio.h> int main() { int x; scanf("%d", &x); if(x%2==0 && x>4 && x<=12) { printf("1 1 0 0"); } else if(x%2!=0 && (x<=4 || x>12)) { printf("0 0 0 1"); } else { printf("0 1 1 0"); } return 0; }
註冊一個 南阳理工学院OJ 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 南阳理工学院OJ 通用賬戶