#arc131c. [arc131_c]Zero XOR

[arc131_c]Zero XOR

Problem Statement

There are NN cookies on a desk. Each cookie has a positive integer on its surface: A1,A2,dots,ANA_1, A_2, \\dots, A_N, which are all different.

Let us play a game with two players using these cookies. In this game, the players alternately do the following action.

Choose a cookie on the desk and eat it. Then, if the mathrmXOR\\mathrm{XOR} of the integers written on the remaining cookies on the desk becomes 00, the player wins, and the game ends.

You have asked the boy E869120 to play this game with you. You go first, and E869120 goes second. Are you going to win if both players play optimally?

What is mathrmXOR\\mathrm{XOR}?

The bitwise mathrmXOR\\mathrm{XOR} of integers AA and BB, AmathrmXORBA\\ \\mathrm{XOR}\\ B, is defined as follows:

  • When AmathrmXORBA\\ \\mathrm{XOR}\\ B is written in base two, the digit in the 2k2^k's place (kgeq0k \\geq 0) is 11 if exactly one of AA and BB is 11, and 00 otherwise.

For example, we have 3mathrmXOR5=63\\ \\mathrm{XOR}\\ 5 = 6 (in base two: 011mathrmXOR101=110011\\ \\mathrm{XOR}\\ 101 = 110).
Generally, the bitwise mathrmXOR\\mathrm{XOR} of kk integers p1,p2,p3,dots,pkp_1, p_2, p_3, \\dots, p_k is defined as $(\\dots ((p_1\\ \\mathrm{XOR}\\ p_2)\\ \\mathrm{XOR}\\ p_3)\\ \\mathrm{XOR}\\ \\dots\\ \\mathrm{XOR}\\ p_k)$. We can prove that this value does not depend on the order of p1,p2,p3,dotspkp_1, p_2, p_3, \\dots p_k. Particularly, when k=0k = 0, the mathrmXOR\\mathrm{XOR} is 00.

Constraints

  • 1leqNleq4000001 \\leq N \\leq 400000
  • 1leqAileq109(1leqileqN)1 \\leq A_i \\leq 10^9 \\ (1 \\leq i \\leq N)
  • A1,A2,dots,ANA_1, A_2, \\dots, A_N are all different.
  • The mathrmXOR\\mathrm{XOR} of A1,A2,dots,ANA_1, A_2, \\dots, A_N is not 00.
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN A1A_1 A2A_2 cdots\\cdots ANA_N

Output

If you are going to win if both players play optimally, print Win; if you are going to lose, print Lose.


Sample Input 1

6
9 14 11 3 5 8

Sample Output 1

Lose

In this case, regardless of what choices you make, you will lose if E869120 keeps playing optimally.

For example, let us say you first eat the cookie with 1111 written on it. Then, E869120 will eat the cookie with 99 so that the mathrmXOR\\mathrm{XOR} of the numbers written on the remaining cookies, 14,3,5,814, 3, 5, 8, is 00, making him win.

Even if you make other choices, E869120 will win eventually.


Sample Input 2

1
131

Sample Output 2

Win

In this case, your only choice in your first turn is to eat the cookie with 131131. Then, there is no more cookie on the desk, making the mathrmXOR\\mathrm{XOR} of the numbers written on the remaining cookies 00. Therefore, before E869120 gets to do anything, you win.


Sample Input 3

8
12 23 34 45 56 78 89 98

Sample Output 3

Win