#include #define int long long //#define USE_FREOPEN //#define MUL_TEST #define FILENAME "coin" using namespace std; void solve() { int a,b; cin >> a >> b; if (a < b) cout << "K\n"; else cout << "S\n"; } signed main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); #ifdef USE_FREOPEN freopen(FILENAME ".in","r",stdin); freopen(FILENAME ".out","w",stdout); #endif int _ = 1; #ifdef MUL_TEST cin >> _; #endif while (_--) solve(); _^=_; return 0^_^0; }