
Kleptyk, known from the Match Model problem, decided to demonstrate his skills again. He began constructing triangles using matches.
What is the minimal number of matches needed to form triangles, if each side of a triangle is formed by a single match?
The input contains a single integer (n < 2 \cdot 10^9).
Print the minimal number of matches required to form triangles.
Example 1