""" https://yukicoder.me/problems/no/374 中央に置いた後は、偶数になる """ A,B = map(int,input().split()) if A < B: print ("K") else: print ("S")