#include
using namespace std;
void winner(int t)
{
int i,n,m;
for(i=1;i<=t;i++)
{
cin>>m>>n;
if(m>n)
cout<<“Aayush”<<endl;
else if(m<n)
cout<<“Harshit”<<endl;
else if(m=n)
cout<<“Aayush”<<endl;
}
}
int main() {
int n;
cin>>n;
winner(n);
return 0;
}