@@ -0,0 +1,753 @@
+import java.io.*;%0A/*%0AOne is always a divisor.%0AOdd Numbers can have only odd divisors. %0AOdd Number - Odd Number = even number.%0AIf odd number always lose then even number can always win by using 1 to give odd number to opponent.%0AAnd odd number always lose because it always have to give even number to opponent.%0A*/%0Aclass NUMGAME %7B%0A%0A%09public static void main(String%5B%5D a) throws IOException %7B%0A%09%09BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A%09%09PrintWriter pw = new PrintWriter(new BufferedOutputStream(System.out));%0A%09%09int T = Integer.parseInt(br.readLine());%0A%09%09while (T-- %3E 0) %7B%0A%09%09%09long n = Long.parseLong(br.readLine());%0A%09%09%09if (n %25 2 == 0) %7B%0A%09%09%09%09pw.println(%22ALICE%22);%0A%09%09%09%7D else %7B%0A%09%09%09%09pw.println(%22BOB%22);%0A%09%09%09%7D%0A%09%09%7D%0A%09%09pw.flush();%0A%09%7D%0A%7D%0A

Create NUMGAME.java