#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 bool check(int n){ if(n==1)return false; for(int i=2;i*i<=n;i++){ if(n%i==0)return false; } return true; } int main(){ int N; cin>>N; vector p; for(int i=2;i<=N;i++){ if(check(i))p.push_back(i); } vector dp(N+1,false); dp[0] = true; dp[1] = true; for(int i=2;i<=N;i++){ rep(j,p.size()){ if(i-p[j]<0)break; if(dp[i-p[j]]==false){ dp[i] = true; break; } } } cout<<(dp.back()?"Win":"Lose")<