table, coin = map(int, input().split()) if table < coin: print("K") else: print("S")