#include<bits/stdc++.h>
using namespace std;
#define ll long long 
#define pii pair<int,int>
#define fi first 
#define se second 
#define all(x) x.begin(),x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster ios_base::sync_with_stdio(0);cin.tie(0);
#define mem(a,v) memset(a,v,sizeof(a))
const ll INF=1e18;
const int mod=1e9+7;
const int iinf=1e9+10;
const int xd[4]={1,0,-1,0},yd[4]={0,1,0,-1};
ll d,k;
void solve(){
    cin>>d>>k;
    ll x=(d*d)/(k*k);
    ll s=0,i=1,j=1;
    while(1){
        s+=i*i-(i-1)*(i-1);
        if(s>x){
            cout<<"Utkarsh\n";return;
        }
        //cout<<"ss="<<s<<"\n";
        //if(s+(i+1)*(i+1)-i*i<x&&s+(i+1)*(i+1)-i*i+j*j-(j-1)*(j-1)>x){
           // cout<<"Ashishe\n";return;
        //}
        s+=j*j-(j-1)*(j-1);
        if(s>x){
            cout<<"Ashish\n";return;
        }
        //cout<<"s="<<s<<"\n";
        i++;j++;
    }
}
int main()
{
    faster
    int t;
    cin>>t;
    while(t--)
        solve();
}