エイシングプログラミングコンテスト2021(AtCoder Beginner Contest 202)
翻译中…
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.
翻译中…
样例
Input #1
1 4 3
Output #1
13
The numbers on the bottom faces are $6$, $3$, and $4$. We have $6 + 3 + 4 = 13$, which should be printed.
Input #2
5 6 4
Output #2
6
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。