//1024万岁 #include using namespace std; int main() { int n; int a=0,b=0,c=0; cin>>n; if(n%2==0&&(n>4&&n<=12)) a=1024; if(n%2==0||(n>4&&n<=12)) b=1024; if(n%2!=0&&(n<=4||n<=1024)) c=1024; cout <<a<<" "<<b<<" "<<c<<endl; return 0; }