def mark(s, x): for i in xrange(x + x, len(s), x): s[i] = False def sieve(n): s = [True] * n for x in xrange(2, int(n**0.5) + 1): if s[x]: mark(s, x) return [i for i in xrange(0,n) if s[i] and i > 1] n = int(input()) primes = sieve(n+2) game = ['L' for i in range(10**4+10)] game[2] = 'L' game[3] = 'L' i = 2 while i < len(game): if game[i] == 'L': t = 0 while t < len(primes) and i + primes[t] < len(game) : game[i + primes[t]] = 'W' t += 1 i += 1 print 'Win' if game[n] == 'W' else 'Lose'