#P196. 练32.2  种植竹笋

练32.2  种植竹笋

Description

The initial height of the bamboo shoot is 00, and its growth rate decreases with each day: it grows 1616 centimeters on the first day, 88 centimeters on the second day, and so on, with the growth on the nn-th day being 16n\frac{16}{n} centimeters (the daily growth may not be an integer). The bamboo shoot can be harvested and sold when it reaches a height of kk centimeters or more. On which day can the farmer harvest the bamboo shoot?
If the bamboo shoot still cannot reach the harvest height after one year (after the 365365-th day), output 1-1.

Input Format

Input consists of a single line containing an integer kk (1k1201≤k≤120), representing the minimum height at which the bamboo shoot can be harvested.

Output Format

Output a single line containing an integer, representing the day after which the bamboo shoot can be harvested.

Sample

10
1