Guessing Game

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
Java

jsumabat 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 between 1 and 20 while jsumabat tries to guess it.

Input

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 1 and 20 both inclusive representing jsumabat's guess.

Output

If the guess matches the randomly generated integer, print WINNER. Otherwise, print LOSER.

Sample Input

1
1

Sample Output

LOSER

Comments

There are no comments at the moment.