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(int.Parse).ToArray(); if (AB[0] < AB[1]) { Console.WriteLine("K"); } else { Console.WriteLine("S"); } } } }