what is wrong with my code

hello to all,

i am new to programming and tried to write a code for the problem https://www.codechef.com/problems/HMAPPY2/ . my solution is
https://www.codechef.com/viewsolution/23480019
i tried it and output are correct(as far as i checked with different test cases)
then why was it considered wrong.
i need to understand the evaluation also.

Hello Nitu119. Your code shows HTML.

there was a period (.) after the link, you can open it now!

Hi! You have made a typo in your code.

For each test case, print a single line containing the string “Win” if they can solve at least K problems or “Lose” otherwise (without quotes).

Whereas you are printing “Win” and “loose”.
Change the last line to System.out.print(“Lose”) and your code should work fine.