You are given three squares with side lengths , , and . Each square can be cut into rectangles. Using all the pieces, you need to assemble the largest possible square. What is the integer side length of this largest square?
The input contains three positive integers , , and , each not greater than .
Print the integer side length of the largest square you can assemble.
Example 1