#include #define rep(i,n) for(int i=0;i> N; int X=1; int ans=0; while(X