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