Score : 100 points
You have decided to give an allowance to your child depending on the outcome of the game that he will play now.
The game is played as follows:
+
printed on it.Given the values A, B and C printed on the integer panels used in the game, find the maximum possible amount of the allowance.
Input is given from Standard Input in the following format:
A B C
Print the maximum possible amount of the allowance.
1 5 2
53
The amount of the allowance will be 53 when the panels are arranged as 52+1
, and this is the maximum possible amount.
9 9 9
108
6 6 7
82