Submit solution
Points:
3
Time limit:
2.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Java
and while tries to guess it.
wants to play a guessing game but he has no friends to play it with. Instead he tries to create a program that will play it with him and he has asked for your help. The game involves generating a random number betweenInput
The first line contains an integer representing the seed that should be used for generating the random number.
The next line contains an integer between and both inclusive representing 's guess.
Output
If the guess matches the randomly generated integer, print WINNER
. Otherwise, print LOSER
.
Sample Input
1
1
Sample Output
LOSER
Comments