#include using namespace std; bool dp[10101]; int main(){ cin.tie(nullptr)->sync_with_stdio(false); int N; cin >> N; assert(2 <= N && N <= 10000); dp[0] = dp[1] = true; vector p; for(int i = 2; i <= 10000; ++i){ bool ok = true; for(int j = 2; j <= sqrt(i); ++j){ ok &= (i % j != 0); } if(ok) p.emplace_back(i); } for(int i = 0; i < N; ++i){ for(int j: p){ if(i + j <= N) dp[i + j] |= (!dp[i]); } } cout << (dp[N] ? "Win" : "Lose") << endl; return 0; }