a = float(input()) b = float(input()) if 1 <= a <= 10 ** 10 and 1 <= b <= 10 ** 10: print(a + b) print(a - b) print(a * b) else: print("Error")