#include <iostream>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <stack>
#include <string>
#include <cstring>
#include <queue>
#include <map>
#include <set>
#include <cmath>
#include <climits>
#include <functional>

typedef long long ll;

using namespace std;

int main()
{
#ifdef ONLINE_JUDGE
#else
    freopen("in1.txt", "r", stdin);
    // freopen("w.txt", "w", stdout);
#endif
    // ios::sync_with_stdio(false);
    
    ll T, d, k;
    for (cin >> T; T--;) {
        cin >> d >> k;

        ll cnt = 0;
        while ((cnt * k) * (cnt * k) * 2 <= d * d) {
            ++cnt;
        }
        --cnt;
        
        ll res = (cnt * k) * (cnt * k) + (cnt * k + k) * (cnt * k + k);

        cout << (res <= d * d ? "Ashish" : "Utkarsh") << endl;

    }
}