using System; using System.Linq; public class Program { public static void Main() { var a = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray(); if (a[0] < a[1]) { Console.WriteLine("K"); } else { Console.WriteLine("S"); } } }