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[0] = 0; dq[1] = 0; for (int i = 2; i <= N; i++) { if (dq[i] != Integer.MAX_VALUE) { continue; } dq[i] = 1; for (int j = 0; j < prime.size(); j++) { if(i + prime.get(j) <= N && dq[i + prime.get(j)] == Integer.MAX_VALUE){ dq[i + prime.get(j)] = 0; } } } if (dq[N] == 1) { System.out.println("Lose"); } else { System.out.println("Win"); } } }