#include using namespace std; int main() { unsigned int A, B; cin >> A >> B; cout << (A < B ? 'K' : 'S') << '\n'; }