A square from squares#6273

A square from squares

1 second
122.174 megabytes
Very easy

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?

Input

The input contains three positive integers , , and , each not greater than .

Output

Print the integer side length of the largest square you can assemble.

Examples

Example 1

Loading
Loading