#K14791. Calculate Registration Fees
Calculate Registration Fees
Calculate Registration Fees
You are tasked with calculating the total registration fees collected from participants in three races. The registration fee for the 5km race is $10, for the 10km race is $20, and for the 21km race is $30. Use the formula: (total_fees = a \times 10 + b \times 20 + c \times 30), where (a), (b), and (c) denote the number of participants in the 5km, 10km, and 21km races respectively.
inputFormat
The input is provided via standard input (stdin) as a single line containing three space-separated integers: a, b, and c, representing the number of participants in the 5km, 10km, and 21km races respectively.
outputFormat
Output a single integer to standard output (stdout) representing the total registration fees collected.## sample
10 5 2
260