#P23. 【例6.3】 套盒子

【例6.3】 套盒子

Description

Xiaoming has many large, medium, and small boxes. Storing them separately takes up too much space, so he wants to nest them together to make it look tidier. However, he suddenly forgot how many boxes he has in total. He only remembers:
There are aa large boxes, each containing bb medium boxes, and each medium box contains cc small boxes.
Now, he wants to know how many boxes he has in total.

Input Format

Input consists of a single line with three integers aa, bb, cc (0a,b,c10000 \le a,b,c \le 1000).

Output Format

Output a single line with an integer representing the total number of boxes.

Sample

1 1 1
3