eolymp
bolt
Try our new interface for solving problems
Problems

Spiderman

Spiderman

\includegraphics{https://static.e-olymp.com/content/2b/2b84e9c0d34ff98b139147c7608b2d217ab18e84.jpg} Spider-Man is in the top corner of the value of \textbf{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? \InputFile One real number \textbf{A} - the angle in degrees with an accuracy of \textbf{10^\{-6\}} (\textbf{A} < \textbf{180}). \OutputFile Maximum number of hops - a natural number.
Time limit 0.1 seconds
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