#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; vector is_prime(n+1, true), dp(n+1, false); is_prime[0] = false; is_prime[1] = false; for (int i = 2; i < int(pow(n, 0.5))+1; i++) { int j = i + i; while (j <= n) { is_prime[j] = false; j += i; } } for (int i = 2; i < n+1; i++) { for (int j = 2; j < i+1; j++) { if (is_prime[j] && i-j >= 2 && (dp[i-j] == false)) { dp[i] = true; break; } } } if (dp[n]) cout << "Win" << endl; else cout << "Lose" << endl; }