import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { static List sleeve = new ArrayList<>(); public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); sleeve(N); System.out.println(f(N) ? "Win" : "Lose"); } private static void sleeve(int n) { boolean s[] = new boolean[n + 1]; for (int i = 2; i <= n; i++) { if (s[i]) continue; for (int j = i * 2; j <= n; j += i) { s[j] = true; } } for (int i = 2; i <= n; i++) { if (!s[i]) sleeve.add(i); } } private static boolean f(int n) { boolean[] win = new boolean[n + 1]; for (int i = 0; i <= n; i++) { for (int j = 0; j < sleeve.size(); j++) { if (i - sleeve.get(j) < 2) break; if (!win[i - sleeve.get(j)]) { win[i] = true; break; } } } return win[n]; } }