def main(): #DecimalならPython #再帰ならPython!!!!!!!!!!!!!!!!!!!!!!!!!! ''' ''' A,B = map(int, input().split()) if A >= B: print('S') else: print('K') if __name__ == '__main__': main()