a,b = map(int,input().split()) plus = int(a) + int(b) time = int(a) * int(b) if plus > time: print('S') elif plus < time: print('C') else: print('E')