A,B = list(map(int,input().split())) print("K" if A < B else "S")