#include "bits/stdc++.h" using namespace std; typedef long long int ll; ll N; int main(){ ll N, M; cin >> N >> M; if(N < M){ cout << "K" << endl; }else{ cout << "S" << endl; } }