#include using namespace std; typedef long long ll; signed main(){ cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(20); int n; cin>>n; vector v; int p[n+1]={}; p[0]=p[1]=1; for(int i=2;i*i<=n;i++){ if(p[i]==0){ for(int j=i+i;j<=n;j+=i){ p[j]=1; } } } for(int i=2;i<=n;i++){ if(p[i]==0) v.push_back(i); } bool dp[n+2]={}; dp[0]=1,dp[1]=1; for(int i=2;i<=n;i++){ bool pos = false; for(int j:v){ if(j>=i) break; if(dp[i-j]==0){ pos=1; break; } } dp[i]=pos; } if(dp[n]) cout << "Win" << endl; else cout << "Lose\n"; }