Spiderman#1682

Spiderman

0.1 seconds
64 megabytes
Easy

Spider-Man is located at the vertex of an angle of A^\circ. The length of each of his jumps is constant, and each time he lands on the opposite side of the angle, as far from the vertex as possible. What is the maximal number of jumps he can make?

Input

One real number — the size of the angle in degrees, given with a precision of 10^{-6}, where A < 180.

Output

Output the maximum number of jumps — a natural number.

Examples

Example 1

Loading
Loading