#include using i64 = long long; std::vector p; int fact = []() { constexpr int n = 1e5; std::vector st(n + 1, 0); st[0] = st[1] = 1; for (int i = 2; i <= n; ++i) { if (!st[i]) { p.push_back(i); } for (auto &pi : p) { if (1LL * i * pi > n) break; st[i * pi] = 1; if (i % pi == 0) break; } } return 0; }(); int main() { std::cin.tie(nullptr)->sync_with_stdio(false); i64 n; std::cin >> n; std::vector dp(n + 2, 0); const int m = p.size(); dp[0] = dp[1] = 1; for (int i = 0; i <= n; ++i) { for (int j = 0; j < m; ++j) { if (i - p[j] < 0) continue; if (!dp[i - p[j]]) { dp[i] = 1; break; } } } std::cout << (dp[n] ? "Win" : "Lose") << '\n'; return 0; }