# まずSが真ん中に置く、置けなければKの勝ち # あとはKどう置いても対称の場所にSがおける、Kが置けなければSの勝ち A, B = map(int, input().split()) if B <= A: print('S') else: print('K')