import java.util.*; public class Main_yukicoder374 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); if (a >= b) { System.out.println("S"); } else { System.out.println("K"); } sc.close(); } }