#include #include using namespace std; #define MAX 1000000000LL bitset seen; long long other(long long p) { for (long long m=p; m