#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
double d1 = 1000000000000000001;
double d2 = 1000000000000000000;
cout << (d2 == d1) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgZG91YmxlIGQxID0gMTAwMDAwMDAwMDAwMDAwMDAwMTsKICAgIGRvdWJsZSBkMiA9IDEwMDAwMDAwMDAwMDAwMDAwMDA7CiAgICBjb3V0IDw8IChkMiA9PSBkMSkgPDwgZW5kbDsKICAgIHJldHVybiAwOwp9