import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); sub s = new sub(); int num = sc.nextInt(); if(num < 3) { System.out.println("Lose"); return; } Boolean[] ju = new Boolean [num - 1]; ju[0] = false ; ju[1] = false; for(int i = 4 ; i <= num ; i++) { Boolean flug = false; for(int j = 2 ; j < i ; j = s.nextprime(j)) { if(i - j < 2) continue; if(ju [(i - j) - 2] == false) { flug = true; break; } } ju[i - 2] = flug; System.out.println(i + " is " + flug); } if(ju[num - 2] == true)System.out.println("Win"); else System.out.println("Lose"); } } class sub{ int nextprime(int num) { if(num == 2)return 3; Boolean flug; for(int i = num + 2 ; ; i = i+2 ) { flug = true; for(int j = 2 ; j <= Math.sqrt(i) ; j++) { if(i % j == 0) { flug = false; break; } } if(flug == true)return i; } } }