#include<iostream>
#include<cstdio>
#include<cmath>
#define ll long long
#define ld long double
using namespace std;
int T;
ll d,k;
int main()
{
    scanf("%d",&T);
    while(T--)
    {
        scanf("%lld%lld",&d,&k);
        puts(pow(k*(ll)((ld)d/sqrt((ld)2)/k),2)+pow(k*(ll)((ld)d/sqrt((ld)2)/k+1),2)>d*d?"Utkarsh":"Ashish");
    }
    return 0;
}