a,b = map(int, input().split()) s = a+b p = a*b if sp:print("S") if s==p:print("E")