Spiderman
Easy
Execution time limit is 0.1 seconds
Runtime memory usage limit is 64 megabytes
Spider-Man is in the top corner of the value of A^0. 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.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 11%