#include using namespace std; vector p; int dp[10010]; int dfs(int N){ if( dp[N] != -1 ) return dp[N]; for( auto i : p ){ if( N - i <= 1 ) break; if( !dfs(N-i) ) return dp[N] = 1; } return dp[N] = 0; } int main(){ memset(dp,-1,sizeof(dp)); for(int i = 2 ; i <= 10000 ; i++){ int f = 1; for(int j = 2 ; j * j <= i ; j++) if( i % j == 0 ) f = 0; if(f) p.push_back(i); } int N; cin >> N; cout << (dfs(N)?"Win":"Lose") << endl; }