#abc202a. [abc202_a]Three Dice
[abc202_a]Three Dice
Problem Statement
Takahashi has rolled three dice. They are showing numbers , , and on the top faces.
Find the sum of the numbers on the bottom faces.
Here, each of these dice is a standard cubic die, where the sum of the numbers on opposite faces is .
Constrains
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the sum of the numbers on the bottom faces of the three dice.
Sample Input 1
1 4 3
Sample Output 1
13
The numbers on the bottom faces are , , and . We have , which should be printed.
Sample Input 2
5 6 4
Sample Output 2
6