import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; import java.util.TreeSet; public class Main { // 円の中に円を詰める // https://en.wikipedia.org/wiki/Circle_packing_in_a_circle // 2個 -> A : B = 2 : 1 // 3個 -> A : B = 2.154 : 1 => 3 : 1 // 4個 -> A : B = 2.414 : 1 => 3 : 1 // 6個 -> A : B = 3 : 1 // 7個 -> A : B = 3 : 1 // 8個 -> A : B = 4 : 1 // 12個 -> A : B = 5 : 1 // 20個 -> A : B = 6 : 1 public static void main(String[] args) { Scanner sc = new Scanner(System.in); final long A = sc.nextLong(); final long B = sc.nextLong(); if(A < B){ System.out.println("K"); return; } final long times = A / B; System.out.println((times * times) % 2 == 0 ? "S" : "K"); } }