#include <bits/stdc++.h>

using namespace std;


int main()
{
    ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

    int t; cin>>t;
    double x,y,z,a,b,d,sum;
    int q;
    string s;
    for(int i=0;i<t;i++){
        cin>>x>>y;
        x=x/y;
        d=x/sqrt(2);
        q=d;
        z=sqrt(pow(x,2)-pow(q,2));
        z-=q;
        if(z>=1) s="Ashish";
            else s="Utkarsh";
        cout<<s<<endl;
    }


    return 0;
}
