#include <iostream>
#include<algorithm>
using namespace std;
int main() {
int t;
cin >> t; // Number of games
while (t--) {
int n;
cin >> n; // Limit on the position
int position = 0; // The initial position of the dot is 0
int i = 1; // To keep track of the moves (1st, 2nd, 3rd, ...)
while (true) {
// Sakurako's move (negative direction)
position -= (2 * i - 1);
if (abs(position)>n) { // If the position exceeds -n, Kosuke cannot play
cout << "Sakurako" << endl;
break;
}
// Kosuke's move (positive direction)
position += (2 * i -1);
if (abs(position) > n) { // If the position exceeds n, Sakurako cannot play
cout << "Kosuke" << endl;
break;
}
i++; // Move to the next turn
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZTxhbGdvcml0aG0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKICAgIGludCB0OwogICAgY2luID4+IHQ7ICAvLyBOdW1iZXIgb2YgZ2FtZXMKICAgIAogICAgd2hpbGUgKHQtLSkgewogICAgICAgIGludCBuOwogICAgICAgIGNpbiA+PiBuOyAgLy8gTGltaXQgb24gdGhlIHBvc2l0aW9uCiAgICAgICAgCiAgICAgICAgaW50IHBvc2l0aW9uID0gMDsgIC8vIFRoZSBpbml0aWFsIHBvc2l0aW9uIG9mIHRoZSBkb3QgaXMgMAogICAgICAgIGludCBpID0gMTsgIC8vIFRvIGtlZXAgdHJhY2sgb2YgdGhlIG1vdmVzICgxc3QsIDJuZCwgM3JkLCAuLi4pCiAgICAgICAgCiAgICAgICAgd2hpbGUgKHRydWUpIHsKICAgICAgICAgICAgLy8gU2FrdXJha28ncyBtb3ZlIChuZWdhdGl2ZSBkaXJlY3Rpb24pCiAgICAgICAgICAgIHBvc2l0aW9uIC09ICgyICogaSAtIDEpOwogICAgICAgICAgICBpZiAoYWJzKHBvc2l0aW9uKT5uKSB7ICAvLyBJZiB0aGUgcG9zaXRpb24gZXhjZWVkcyAtbiwgS29zdWtlIGNhbm5vdCBwbGF5CiAgICAgICAgICAgICAgICBjb3V0IDw8ICJTYWt1cmFrbyIgPDwgZW5kbDsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICAgIAogICAgICAgICAgICAvLyBLb3N1a2UncyBtb3ZlIChwb3NpdGl2ZSBkaXJlY3Rpb24pCiAgICAgICAgICAgIHBvc2l0aW9uICs9ICgyICogaSAtMSk7CiAgICAgICAgICAgIGlmIChhYnMocG9zaXRpb24pID4gbikgeyAgLy8gSWYgdGhlIHBvc2l0aW9uIGV4Y2VlZHMgbiwgU2FrdXJha28gY2Fubm90IHBsYXkKICAgICAgICAgICAgICAgIGNvdXQgPDwgIktvc3VrZSIgPDwgZW5kbDsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICAgIAogICAgICAgICAgICBpKys7ICAvLyBNb3ZlIHRvIHRoZSBuZXh0IHR1cm4KICAgICAgICB9CiAgICB9CiAgICAKICAgIHJldHVybiAwOwp9