#include<bits/stdc++.h>
using namespace std;
long long t,d,k,d1,d2;
int main(){
	scanf("%d",&t);
	while(t--){
		scanf("%lld%lld",&d,&k);
		d1=k*(long long)(d/(sqrt(2)*k));
		d2=k*((long long)(d/(sqrt(2)*k))+1);
		if(d1*d1+d2*d2>d*d)printf("Utkarsh\n");
		else printf("Ashish\n");
	}
	return 0;
}
   		 		 	 	     	 		  	   				