#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(void){
  long int a, b;
  scanf("%ld %ld", &a, &b);

  if(a<b){
    printf("K");
  }else{
    printf("S");
  }

  return 0;
}