#include <iostream>
using namespace std;
// 直接计算x的质因数个数,无需单独的质数判断函数
int countPrimeFactors(int x) {
if (x <= 1) return 0;
int count = 0;
// 处理2的情况
if (x % 2 == 0) {
while (x % 2 == 0) {
x /= 2;
count++;
}
}
// 处理奇数因子
for (int i = 3; i * i <= x; i += 2) {
if (x % i == 0) {
while (x % i == 0) {
x /= i;
count++;
}
}
}
// 如果剩下的x是一个质数
if (x > 1) {
count++;
}
return count;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
while (n--) {
int x;
cin >> x;
int count = countPrimeFactors(x);
if (count & 1) {
cout << "kou\n";
} else {
cout << "yukari\n";
}
}
return 0;
}