A, B = map(int, input().split()) if A % 10 == 0 and B % 10 == 0: X = A * B // 10 else: if -99999999 <= A * B <= 99999999: X = A * B else: X = 'E' print(X)