import java.io.*; import java.util.Arrays; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; boolean[] p=new boolean[10001]; Arrays.fill(p,true); p[0]=false; p[1]=false; for(int i=2;i<=Math.sqrt(10000);i++){ if(p[i]){ for(int j=i+i;j<=10000;j+=i){ p[j]=false; } } } while((line=br.readLine())!=null){ int n=Integer.parseInt(line); int[] dp=new int[10001]; dp[0]=0; dp[1]=0; for(int i=2;i<=n;i++){ for(int j=2;j<=i;j++){ if(p[i-j]&&dp[j]==0){ dp[i]=1; break; } } } System.out.println(dp[n]==1?"Win":"Lose"); } } }