a = list(map(int, input().split())) if a[0] < a[1]: print('K') else: print('S')