E. Three Dice

    Type: Default 1000ms 256MiB

Three Dice

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Special for beginners, ^_^

题目描述

有三个骰子,顶部数字分别是 a,b,c,求底部数字之和。

这里骰子是标准骰子,即相对的两个表面上的数字和为 7。

Format

Input

输入3个数字,分别表示三个骰子的顶部数字.

Output

输出这三个骰子底部数字之和

Samples

1 4 3
13
5 6 4
6

数据说明Limitation

1 ≤ a, b, c ≤ 6

蒙自市2025冬令营选拔测试

Not Attended
Status
Done
Rule
IOI
Problem
5
Start at
2025-1-10 9:00
End at
2025-1-10 10:40
Duration
1.7 hour(s)
Host
Partic.
145