#include using namespace std; int main(){ long long A,B; cin >> A >> B; if(A < B) cout << "K" << endl; else cout << "S" << endl; return 0; }