let [| A; B |] = stdin.ReadLine().Split(' ') |> Array.map int64 if A < B then printfn "K" else printfn "S"