Invisible point#3186

Invisible point

1 second
64 megabytes
Very easy

Danya marked a point on the plane with sympathetic ink and drew a regular -gon with normal ink. Max can see the -gon but cannot see the point. He can draw a straight line and ask Danya on which side of the line the point is located. What is the minimum number of questions Max needs to ask in order to determine whether the point is inside the -gon?

Input

The input consists of a single integer (3 \leq n \leq 1000000) — the number of vertices of the -gon.

Output

Print a single integer: the answer to the question in the statement.

Examples

Example 1

Loading
Loading