import java.util.*; public class Main { static boolean[] era; static int[] dp; static int dfs(int now){ if(dp[now]!=0) return dp[now]; for(int i=2;i<=now;i++){ if(era[i]){ if(dfs(now-i)==-1){ return dp[now]=1; } } } return dp[now]=-1; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N =sc.nextInt(); era=new boolean[N+1]; dp=new int[N+1]; dp[0]=1; dp[1]=1; dp[2]=-1; dp[3]=-1; dp[5]=1; Arrays.fill(era, true); for(int i=2;i*i<=N;i++){ if(era[i]){ for(int j=i*2;j<=N;j+=i){ era[j]=false; } } } if(dfs(N)==1){ System.out.println("Win"); }else{ System.out.println("Lose"); } } }