# frozen_string_literal: true def solve return 'Lose' if N == 2 || N == 3 require 'prime' primes = Prime.each(10_000).to_a result = (4..N).map { _1 - 2 }.each_with_object([false, false]) do |i, r| r << primes.select { _1 <= i } .any? { !(r[i - _1]) } end result[-1] ? :Win : :Lose end N = gets.to_i puts solve