Problem5587--ABC202 —— A - Three Dice

5587: ABC202 —— A - Three Dice

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

高桥正在玩三个筛子,每个筛子最上面显示的数字分别为 $a,\ b,\ c$。
请找出筛子对应的底部数字和。
筛子都是标准的正方体,最上面的数字和底面数字和为 $7$。

Input

一行三个整数,$a,\ b,\ c\ (1≤a,b,c≤6)$。

Output

一个整数,表示三个筛子底面的数字和。

Sample 1 Input

1 4 3

Sample 1 Output

13
筛子对应的底面数据分为为 $6,\ 3,\ 4$,因此对应的数据和为 $6+3+4=13$。

Sample 2 Input

5 6 4

Sample 2 Output

6

HINT

相同题目:ABC202

Source/Category

AtCoder_ABC 100.202.ABC202