num1 = int(input('Enter the first number:')) num2 = int(input('Enter the second number:')) num3 = int(input('Enter the third number:')) avg = (num1 + num2 + num3) / 3.0 print(str(avg))