#include int main(){ unsigned long A,B,SS,PP; scanf("%d",A); scanf("%d",B); SS=A+B; PP=A*B; if(SS>PP){ printf("S"); } else if(SS