a, b = map(int,input().split()) print("K" if(a < b) else "S")