#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS                      \
    ios::sync_with_stdio(false); \
    cin.tie(0)

// *start on @date: 2020-11-22 15:38
// *writer: wjm

int main()
{
    IOS;
    ll t;
    cin >> t;
    while (t--)
    {
        ll k, d;
        cin >> k >> d;
        ll x = d, y = 0;
        ll t = x * x + y * y;
        ll ans = 1;
        while (t <= k * k)
        {
            if (x > y)
            {
                y = y + d;
                ans++;
            }
            else
            {
                x = x + d;
                ans++;
            }
            t = x * x + y * y;
        }
        if (ans % 2 == 0)
        {
            cout << "Ashish"
                 << "\n";
        }
        else
        {
            cout << "Utkarsh"
                 << "\n";
        }
    }
    return 0;
}