import java.util.;
import java.lang.;
import java.math.BigInteger;
import java.io.*;
class Codechef{
public static void main (String[] args) throws java.lang.Exception{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int t=Integer.parseInt(br.readLine());
for(int i=0;i<t;i++){
String s = br.readLine();
String[] st = s.split(" ");
BigInteger r=new BigInteger(st[0]);
BigInteger m=new BigInteger(st[1]);
BigInteger n=new BigInteger(st[2]);
BigInteger k=new BigInteger(st[3]);
BigInteger p=r.divide(m);
BigInteger q=r.divide(n);
BigInteger e=n.multiply(m);
BigInteger f=r.divide(e);
BigInteger y=p.subtract(f);
BigInteger z=q.subtract(f);
BigInteger x=y.add(z);
if(x.compareTo(k)<0)
System.out.println(“Lose”);
else
System.out.println(“Win”);
}
}
}
This code runs on my ide but it throws an exception(NumberFormatException)on the codechef ide.Please help me solving this problem.
Please provide the problem link.