#include #include using namespace std; using lint=int64_t; int main() { lint A,B; cin >> A >> B; if((A/B)%4==0) cout << "K"; else cout << "S"; cout << endl; return 0; }