https://hack.codingblocks.com/contests/c/492/1427
//how to get this input mismatch error resolved?
public class PracticeQuestions {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int testcase = scn.nextInt();
while (testcase > 0) {
int m = scn.nextInt();
int n = scn.nextInt();
int temp = 1;
while (m > 0 && n > 0) {
m = m - temp;
if (m < 0) {
System.out.println("Harshit");
break;
}
n = n - (temp + 1);
if (n < 0) {
System.out.println("Aayush");
}
temp += 2;
}
testcase--;
}
}
}