#!/usr/bin/env python3 # -*- coding: utf-8 -*- n = int(input()) M = 10000 table = [True] * (M + 1) num = [] for i in range(2, M + 1): if not table[i]: continue k = i + i while k < M + 1: table[k] = False k += i num.append(i) memo = [False] * 10001 for i in range(2,10001): if memo[i]: continue for p in num: if i + p > 10000: break memo[i+p] = True if memo[n]: print("Win") else: print("Lose")