You are given an integer N, and you need to find two numbers say x and y, such that the product of x and y is greater than or equal to N and the sum of x and y should be minimum. You need to print the minimum sum of x and y.
Input format
Output format
For each test case, print the minimum sum.
Constraints
1≤T≤105
1≤N≤1018
If you choose x=4 and y=4, the product will be 16 which is greater than 15 and the sum will be minimum, i.e 8.