For this Question: Aniket and Swapnil are playing a game in which they have two piles of stones with N1 and N2 stones respectively. They take turns picking any even positive number of stones from one of the pile and keep half of them on the other pile and throw away the other half. Whoever can not make a move loses. Given N1 and N2 find who will win. Swapnil makes the first move.The first and only line of input contains two integers N1 and N2.

Constraints 
1 <= N1, N2 <= 1000000000000000Print "Swapnil" if Swapnil wins the game and print "Aniket" if Aniket wins the game.Sample Input 1
2 1

Sample Output 1
Aniket

Sample Input  2
4 8

Sample Output 2
Swapnil, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] str = br.readLine().trim().split(" ");
		long n1 = Long.parseLong(str[0]);
		long n2 = Long.parseLong(str[1]);
		long diff = Math.abs(n1-n2);
		long c =0;
		while(diff>1){
			if(diff%2!=0)
				diff--;
			diff/=2;
			if(n1>n2){
				n1 -= 2*diff;
				n2 += diff;
			}
			else{
				n2 -= 2*diff;
				n1 += diff;
			}
			c += diff;
			diff = Math.abs(n1-n2);
		}
		if(c%2==0){
			System.out.print("Aniket");
		}else{
			System.out.print("Swapnil");
		}
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?