A,B=map(int,input().split()) C=A+B D=A*B if C>D: print("S") if C