#P10290. Conveyor Belt Sushi Pricing

    ID: 12291 Type: Default 1000ms 256MiB

Conveyor Belt Sushi Pricing

Conveyor Belt Sushi Pricing

In a newly opened conveyor belt sushi restaurant in a town, various plates of sushi are served on a rotating belt. Customers choose what they want simply by taking a plate from the belt.

Each red plate of sushi costs \(3\) dollars, each green plate costs \(4\) dollars, and each blue plate costs \(5\) dollars. Given the number of plates the customer takes in each color, your task is to compute the total price of the meal.

inputFormat

The input consists of a single line containing three non-negative integers separated by spaces, representing the number of red, green, and blue plates respectively.

outputFormat

Output a single integer which is the total cost of the meal.

sample

0 0 0
0