//getting tle in this code
#include
using namespace std;
void whowins(int ayush,int harshit){
if(ayush>harshit)
cout<<“Aayush”<<endl;
else
cout<<“Harshit”<<endl;
}
int main(){
int t;
cin>>t;
while(t){
int a,h;
cin>>a>>h;
whowins(a,h);
}
return 0;
}