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