using System; using System.Collections.Generic; class Program { static void Main() { int n = int.Parse(Console.ReadLine()); List ps = new List { 2 }; for (int i = 3; i < n; i++) { for (int j = 2; j < i; j++) { if (i % j == 0) goto exit; } ps.Add(i); exit:; } bool[] win = new bool[n + 1]; for (int i = 2; i < n - 1; i++) { if (win[i]) continue; foreach (int p in ps) { int t = i + p; if (n < t) break; win[t] = true; } } Console.WriteLine(win[n] ? "Win" : "Lose"); } }