# payment for freelancers
hours1 = 13
hours2 = 23
rate1 = 10.5
rate2 = 14
# pay = hours1 * rate1 + hours2 * rate2
# simplification
pay1 = hours1 * rate1  # for freelancer 1
pay2 = hours2 * rate2  # for freelancer 2
pay = pay1 + pay2  # total
print(pay)
