def int_to_exp_representation(num: int) -> tuple[int, int]: exp_ = 0 while abs(num) >= 10 and num % 10 == 0: num //= 10 exp_ += 1 return num, exp_ def main(): A, B = map(int, input().split()) A_mantissa, A_exp = int_to_exp_representation(A) B_mantissa, B_exp = int_to_exp_representation(B) if abs(A_mantissa) < 10 and abs(B_mantissa) < 10 and A_exp >= 2 and B_exp >= 2: print(A*B//10) return calculator_result = A * B if abs(calculator_result) > 99999999: print("E") else: print(calculator_result) if __name__ == "__main__": main()