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