There is a x * y * z cuboid consists of x * y * z numbers of 1 * 1 * 1 cubes. So, its diagonal will pass through how many cubes?
When the diagonal only passes through one of cube's vertex, we say it does not pass through the cube.
输入
Input only contain three positive integers x, y and z (1 <= x, y, z <= 10, 000).