e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Spiderman

Spiderman

prb1682 Spider-Man is in the top corner of the value of A0. he length of each of his jump while driving - a constant, and every time he turns on the other side of the angle as far as possible from the top. What is the maximal number of hops it can commit?

Input

One real number A - the angle in degrees with an accuracy of 10-6 (A < 180).

Output

Maximum number of hops - a natural number.

Time limit 0.1 second
Memory limit 64 MiB
Input example #1
30
Output example #1
3
Author Kryvonos O.M.
Source Stage III All-Ukrainian School Olympiad 2010-2011, Round 1, Zhytomyr