#include<bits/stdc++.h>
using namespace std;
int main(){
	int t;
    cin>>t;
    while(t--){
        double d,k;
        cin>>d>>k;
        long long p=sqrt(2)/2*d/k;
        if((p*k)*(p*k)+(p*k+k)*(p*k+k)>d*d){
            cout<<"Utkarsh"<<endl;
        }
        else cout<<"Ashish"<<endl;
    }
}
