#include"bits/stdc++.h" using namespace std; #define rep(i,n) for(int (i)=0;(i)<(n);(i)++) #define rep3(i,m,n) for(int (i)=m;(i)<=(n);(i)++) #define rep3rev(i,m,n) for(int (i)=m;(i)>=(n);(i)--) #define all(a) (a.begin()),(a.end()) #define rall(a) (a.rbegin()),(a.rend()) #define fi first #define se second typedef long long ll; typedef vector vi; typedef vector> vvi; typedef pair pii; bool isPrime(int x){ if(x==0 || x==1) return false; int rx = floor(sqrt(x)); rep3(i,2,rx){ if(x%i==0) return false; } return true; } void Main(){ int n; cin >> n; vector res(n+10); res[0] = res[1] = true; res[2] = false; rep3(i,3,n) { res[i] = false; rep3(j,2,i-2){ if(!res[j] && isPrime(i-j)) res[i] = true; break; } } if(res[n]) cout << "Win" << endl; else cout << "Lose" << endl; return; } int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); cout << fixed << setprecision(15); Main(); return 0; }