414 传统题

[ABC202A] 三颗骰子 (Three Dice)

时间限制
2000ms
内存限制
1024MiB
登顶 / 尝试
0/ 0
难度
1

[ABC202A] 三颗骰子 (Three Dice)

Score : 100 points Problem Statement Takahashi has rolled three dice. They are showing numbers a, b, and c 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 7. Constrains 1 \leq a, b, c \leq 6 All values in input are integers. Input Input is given from Standard Input in the following format: a b c Output Print the sum of the numbers on the bottom faces of the three dice.