#include #include #include #include #include #include ///////// #define REP(i, x, n) for(int i = x; i < n; i++) #define rep(i,n) REP(i,0,n) #define P(p) cout<<(p)<>N;//[2,10000=10^4] prim[0] = 2; ++num; for(int i=3;i