import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] dp = new int[n + 1]; ArrayList prime = new ArrayList(); boolean[] is_prime = new boolean[n - 1]; for(int i = 0; i <= n - 2; i++) is_prime[i] = true; is_prime[0] = false; if(n > 2) is_prime[1] = false; for(int i = 2; i <= n - 2; i++) { if(is_prime[i]) { prime.add(i); for(int j = 2 * i; j <= n - 2; j += i) is_prime[j] = false; } } for(int i = 2; i < n + 1; i++) { for(int j = 0; j < prime.size(); j++) { int p = prime.get(j); if(p < i - 1) { if(dp[i - p] == 0) dp[i] = 1; } } } String ans = "Win"; if(dp[n] == 0) ans = "Lose"; System.out.println(ans); } }