import java.util.*; class Main{ static void gethurui(boolean hurui[],int n){ hurui[0] = hurui[1] = false; for(int i = 2;i <= n;i++) hurui[i] = true; for(int i = 2;i <= (int)(Math.sqrt(n) + 0.1);i++){ if(!hurui[i]) continue; for(int j = i * 2;j <= n;j += i){ hurui[j] = false; } } } public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); scan.close(); boolean[] hurui = new boolean[n + 1]; gethurui(hurui,n); ArrayList p = new ArrayList(); for(int i = 0;i <= n;i++){ if(hurui[i]) p.add(i); } boolean[] dp = new boolean[n + 1]; dp[0] = dp[1] = true; for(int i = 2;i <= n;i++){ boolean f = false; int j = 0; while(j < p.size() && p.get(j) <= i){ if(!dp[i - p.get(j)]){ f = true; break; } j++; } dp[i] = f; } if(dp[n]) System.out.println("Win"); else System.out.println("Lose"); } }