import java.util.Arrays; import java.util.Scanner; public class Main_yukicoder7 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean[] e = new boolean[n + 1]; Arrays.fill(e, true); e[0] = false; e[1] = false; for (int i = 2; i <= n; i++) { if (e[i]) { for (int j = 2; i * j <= n; j++) { e[i * j] = false; } } } boolean[] dp = new boolean[n + 1]; dp[0] = true; dp[1] = true; for (int i = 2; i <= n; i++) { boolean tmp = false; for (int j = 2; j <= i; j++) { if (e[j]) { tmp |= !dp[i - j]; } } dp[i] = tmp; } if (dp[n]) { System.out.println("Win"); } else { System.out.println("Lose"); } sc.close(); } }