num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
sum_ = num1 + num2
difference = num1 - num2
product = num1 * num2
# Handle division by zero error
if num2 != 0:
division = num1 / num2
else:
division = "undefined (division by zero is not allowed)"
print(f"Sum: {sum_}")
print(f"Difference: {difference}")
print(f"Product: {product}")
print(f"Division: {division}")