F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

Triangle Game

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)
Total Submission(s): 653    Accepted Submission(s): 456


Problem Description
Kate and Emilico are playing a game. There are $3$ integers $a,b,c$. It is guaranteed that there exists a non-degenerate triangle whose side lengths are $a,b,c$ respectively. The game goes as follows. Players take turns in decreasing a certain positive integer on one of the $3$ integers. If there doesn't exist a non-degenerate triangle whose side lengths are $a,b,c$ after a player's operation, the player loses.

Kate goes first. If both of them play optimally, will Kate win?
 

Input
The first line of input contains one integer $T$ ($1\le T\le 10^4$), indicating the number of test cases.

For each test case, the only line contains $3$ integers $a,b,c$ ($1\le a,b,c\le 10^9$). It is guaranteed that there exists a non-degenerate triangle whose side lengths are $a,b,c$ respectively.
 

Output
For each test case, if Kate will win, output $\texttt{Win}$ in a single line. Otherwise, output $\texttt{Lose}$ in a single line.
 

Sample Input
3 2 2 3 2 3 4 5 3 4
 

Sample Output
Win Lose Win
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-04-20 18:22:07, Gzip enabled