import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean[] isNotPrime = new boolean[n + 1]; ArrayList primes = new ArrayList<>(); for (int i = 2; i <= n; i++) { if (!isNotPrime[i]) { primes.add(i); for (int j = 2; j * i <= n; j++) { isNotPrime[i * j] = true; } } } boolean[] isWin = new boolean[n + 1]; isWin[0] = true; isWin[1] = true; for (int i = 2; i <= n; i++) { for (int x : primes) { if (x > i) { break; } if (!isWin[i - x]) { isWin[i] = true; break; } } } if (isWin[n]) { System.out.println("Win"); } else { System.out.println("Lose"); } } }