#include #include #define rep( i, n, m ) for(ll i = ( n ); i < ( m ); i++) using ll = long long int; int give_water( int* array, int begin, int end ); int main( void ){ int R, r; if (!scanf( "%d %d", &R, &r )) return 0; int time = ( R - r / 2 ) / r; if (time == 0){ printf("K"); return 0; } int count = 1; rep( i, 1, time + 1 ){ float length = 2 * i * M_PI; count += ( int )( length / r ); } if (count % 2 == 0){ printf( "K\n" ); } else printf( "S\n" ); return 0; }