#include #include using namespace std; int a[100000]; int time(int h, int m, int s){ return h*3600 + m*60 + s; } int main(){ //55→00 /* for(int i=0; i<=100000; i++){ for(int j=0; j<=27175; j++){ a[j] = 0; } } */ long long base = 1496415600 + time(12, 23, 50); long long gosa = 30; if(time(0) >= base - gosa && time(0) <= base + gosa){ cout << 0 << endl; }else{ cout << 1 << endl; } return 0; }