#include<bits/stdc++.h>
using namespace std;

#define FOR(i, a, b) for(int i = (a); i < (b); i++)
typedef long long ll;
#define tests int t; cin >> t; while(t--)

int main()
{
        tests
        {
            long long d, k;
            cin >> d >> k;

            long long MAX = d * d / (2 * k * k);
            MAX = sqrt(MAX);
            if(2 * MAX * MAX * k * k + k * k + 2 * MAX * k * k > d * d) cout << "Utkarsh" << endl;
            else cout << "Ashish" << endl;
        }







    return 0;

}
