#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;
}