Engineer Klepka decided to make cubes from white bars. Each cube has a side length of dm. After making the cubes, the engineer decided to make all the cubes white as well. How many cubes of side dm can the engineer make from one bar, and how many faces need to be painted, given that the dimensions of the bar are integers and are given in decimetres?
Three integers — the dimensions of the bar in dm, each not exceeding 10^6.
Print two integers: the number of cubes obtained and the number of faces that need to be painted.
Example 1