import java.util.ArrayList; import java.util.Scanner; public class PrimeNumberGame { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); s.close(); ArrayList p = new ArrayList<>(); p.add(2); for(int i = 3;i <= N;i++){ int a = 1; for(int j = 0;j < p.size();j++){ if(i % p.get(j) == 0){ a = 0; break; } } if(a == 1){ p.add(i); } } int[] root = new int[N+1]; root[0] = 1; root[1] = 1; for(int i = 2;i <= N;i++){ for(int j:p){ if(i-j >= 0 && root[i-j] == 0){ root[i] = 1; break; } } //System.out.println(i + " " + root[i]); } if(root[N] == 1){ System.out.println("Win"); }else{ System.out.println("Lose"); } } }