5 solutions

  • 1
    @ 2026-4-1 17:38:00
    #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }
    
    

    Information

    ID
    1337
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    3
    Tags
    (None)
    # Submissions
    157
    Accepted
    83
    Uploaded By