import java.util.*; import java.math.*; public class Main{ public static void main(String... args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); System.out.println(Calc(n)); } public static String Calc(int n){ LinkedList prime = eratosthenes(n); boolean[] judge = new boolean[n+1]; judge[0] = true; judge[1] = true; for(int i = 4; i <= n; i++){ for(int p:prime){ if(0<=i-p && !judge[i-p])judge[i] = true; } } return (judge[n])?"Win":"Lose"; } public static LinkedList eratosthenes(int n){ LinkedList list = new LinkedList(); LinkedList result = new LinkedList(); list.add(2); for(int i = 3; i <= n;i+=2){ list.add(i); } double limit = Math.sqrt(n); double head = 0.0; int nowHead; while(head < limit){ head = (double)list.get(0); nowHead = (int)head; result.add(nowHead); for(Iterator it = list.iterator(); it.hasNext();){ int num = it.next(); if(num%nowHead == 0){ it.remove(); } } } for(Iterator it = list.iterator(); it.hasNext();){ result.add(it.next()); } return result; } }