A, B = map(int, input().split()) if B > A: print('K') else: print('S')