Petya has n square cards. He wants to create from them a large square (without holes). How many cards he has left?
One integer n (1 ≤ n ≤ 10^9).
10^9
Print the number of cards left.