import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); int sc = (int) Math.sqrt(N); int[] d = new int[N + 1]; d[0] = -1; d[1] = -1; for (int i = 2; i <= sc; i++) { if (d[i] != 0) { continue; } for (int j = i; j < N; j++) { int dest = i * j; if (dest > d.length - 1) { break; } d[i * j] = -1; } } ArrayList prime = new ArrayList(); for (int i = 0; i < N; i++) { if (d[i] != -1) { prime.add(i); } } int[] dq = new int[N + 1]; Arrays.fill(dq, Integer.MAX_VALUE); dq[N] = 0; int count = 1; boolean finish = false; for (int i = prime.size() - 1; i >= 0; i--) { if (finish) { break; } for (int j = N; j >= 0; j--) { if (dq[j] != Integer.MAX_VALUE) { if (j - prime.get(i) == 1 || j - prime.get(i) == 0) { dq[j - prime.get(i)] = count; finish = true; break; } else if (j - prime.get(i) > 1 && dq[j - prime.get(i)] != i) { dq[j - prime.get(i)] = count; } } } count++; } int tmp; if (dq[0] > dq[1]) { tmp = dq[1]; } else { tmp = dq[0]; } if (tmp % 2 == 0) { System.out.println("Win"); } else { System.out.println("Lose"); } } }