using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; //using static CompLib.CompLib; //using DataStructure; namespace atcoder { class Program { const int intMax = 1000000000; const long longMax = 2000000000000000000; static void Main(string[] args) { var AB = Console.ReadLine().Trim().Split().Select(long.Parse).ToArray(); long A = AB[0]; long B = AB[1]; if (A < B) { Console.WriteLine("K"); } else { Console.WriteLine("S"); } } } }