#A. 大盒套小盒

    Type: Default 1000ms 64MiB

大盒套小盒

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.

说明

小明同学有很多大、中、小三种类型的盒子,分开放太占空间,他想把这些盒子套在一起,那样看起来更加整洁。但是他突然忘记他自己一共有多少个盒子了。他只记得:
一共有 aa 个大盒子,每个大盒子里面有 bb 个中盒子,每个中盒子里面有 cc 个小盒子。
现在他想知道自己一共有多少个盒子。

输入格式

输入仅有一行,三个整数 aabbcc(0a,b,c10000≤a,b,c≤1000)。

输出格式

输出一行一个整数,代表一共有多少个盒子。

样例

1 1 1
3

测试1

Not Attended
Status
Done
Rule
IOI
Problem
6
Start at
2023-11-9 14:45
End at
2023-11-9 16:45
Duration
2 hour(s)
Host
Partic.
3