#include using namespace std; #include uint32_t x,y,z,w; uint32_t generate() { uint32_t t = (x^(x<<11)); x = y; y = z; z = w; w = (w ^ (w >> 19)) ^ (t ^ (t >> 8)); return w; } int main(void) { int64_t seed;cin>>seed; long long ok,ng;ok=0,ng=1ll<<32; while(abs(ok-ng)>1){ x=seed;y=1;z=2;w=3; long long mid=(ok+ng)/2; int cnt=0; for (int i = 0; i < 10000001; i++) { uint32_t a = generate(); if(a