Win or Lose A new fighting game has become popular. There is n number of villains in it, each having some strength. There are n players in the game with each having some energy. The energy is used to kill the villains. A villain can be killed only if the energy of the player is greater than the strength of the villain.
Maxi is playing the game and at a particular time wants to know if it is possible for him to win the game or not with the given set of energies and strengths of players and villains. Maxi wins the game if his players can kill all the villains with the allotted energy.
Input Format The first line of input consists of a number of test cases, T.
The first line of each test case consists of a number of villains and player, N.
The second line of each test case consists of the N space-separated by strengths of Villains.
The third line of each test case consists of N space-separated by the energy of players.
Constraints 1<= T <=10
1<= N <=1000
1<= strength , energy <=100000
Output Format For each test case, Print WIN if all villains can be killed else print LOSE in separate lines.
Sample TestCase 1 Input 1 6 112 243 512 343 90 478 500 789 234 400 452 150 Output WIN