#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 large boxes, each containing medium boxes, and each medium box contains 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 , , ().
Output Format
Output a single line with an integer representing the total number of boxes.
Sample
1 1 13