#include using namespace std; int main(){ long long n, m; cin >> n >> m; if(n < m){ cout << 'K' << endl;} else {cout << 'S' << endl;} }