#include #define REP(i,b,e) for(int i=b;i>i)&1l) { if(a&1l) ans |= (1l<>= 1; } printf("%ld\n", ans); return 0; }