import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines a,b = map(int,read().split()) answer = 'S' if a >= b else 'K' print(answer)