A_B = list(map(int,input().split())) if (A_B[0] >= A_B[1]):print("S") else:print("K")