#include <bits/stdc++.h>
using namespace std;
void printVec(vector<int> f){
cout << "Size = " << f.size() << endl;
for(int i=0;i<f.size();i++){
cout << f[i] << " ";
}
cout << endl;
}
int main() {
int t,n;
cin >> t;
while(t--){
cin >> n;
int c = 0,v = 0;
while(v >= -n && v <= n){
c++;
if(c % 2 != 0)
v -= 2*c - 1;
else
v += 2*c - 1;
//cout << c << " " << v << endl;
}
c%2 != 0 ? cout << "Sakurako\n" : cout << "Kosuke\n";
}
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIHByaW50VmVjKHZlY3RvcjxpbnQ+IGYpewoJY291dCA8PCAiU2l6ZSA9ICIgPDwgZi5zaXplKCkgPDwgZW5kbDsKCWZvcihpbnQgaT0wO2k8Zi5zaXplKCk7aSsrKXsKCQljb3V0IDw8IGZbaV0gPDwgIiAiOwoJfQoJY291dCA8PCBlbmRsOwp9CgppbnQgbWFpbigpIHsKCWludCB0LG47CgljaW4gPj4gdDsKCXdoaWxlKHQtLSl7CgkJY2luID4+IG47CgkJaW50IGMgPSAwLHYgPSAwOwoJCXdoaWxlKHYgPj0gLW4gJiYgdiA8PSBuKXsKCQkJYysrOwoJCQlpZihjICUgMiAhPSAwKQoJCQkJdiAtPSAyKmMgLSAxOwoJCQllbHNlCgkJCQl2ICs9IDIqYyAtIDE7CgkJCS8vY291dCA8PCBjIDw8ICIgIiA8PCB2IDw8IGVuZGw7CgkJfQoJCWMlMiAhPSAwID8gY291dCA8PCAiU2FrdXJha29cbiIgOiBjb3V0IDw8ICJLb3N1a2VcbiI7CQoJfQoJcmV0dXJuIDA7Cn0KCgoKCgoKCgoKCg==