#####
# Python By Example
# Exercise 005
# Christopher Hagan
#####

firstNumber = int(input('Enter your first number: '))
secondNumber = int(input('Enter a second number to add to the first number: '))
thirdNumber = int(input('Enter a third number to multiply the total of the first and second numbers by: '))
print('The answer is {}'.format((firstNumber + secondNumber) * thirdNumber))
