Triangles#2400

Triangles

1 second
128 megabytes
Very easy

Misha loved drawing triangles, but he did it in an unusual way. First, he drew an arbitrary triangle. Then, he divided each of its sides into equal parts and drew lines through the division points, parallel to the sides of the triangle. As a result, a grid of identical triangles was formed.

Input

One integer (0 < n < 2 \cdot 10^9).

Output

Print the maximum number of equal triangles.

Examples

Example 1

Loading
Loading