import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class No7 { public static void main(String[] args) throws IOException{ //プライムナンバー int N = Integer.parseInt(readStr()[0]) , i , k; int[] w = new int[N+1]; w[0] = 1; w[1] = 1; ArrayList list = new ArrayList<>(); for(i = 2;i <= N;i++) { if(w[i] == 0) { list.add(i); for(k = 2;k <= N/i;k++) { w[i * k] = 1; } } w[i] = 0; for(k = list.size() - 1;k >= 0;k--) { if(w[i - list.get(k)] == 0) { w[i] = 1; break; } } } System.out.println(w[N] == 1 ? "Win" : "Lose"); } public static String[] readStr() throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); do { list.add(br.readLine()); }while(br.ready()); br.close(); String[] text = new String[list.size()]; list.toArray(text); return text; } }