#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= 0 ++temp; if( dp[i-prim[k] ] == 1){ dp[i] = 0;//勝ち break; } else{ ++count; } } if(temp == count){ dp[i] = 1; } } ans = dp[N]; if(ans == 0){ P("Win"); }else{ P("Lose"); } return 0; }