import sys def solve(): A, B = map(int, input().split()) if B > A: ans = 'K' else: ans = 'S' print(ans) def debug(x, table): for name, val in table.items(): if x is val: print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr) return None if __name__ == '__main__': solve()