LearnPy Hub
← Arena
EasyRating 800

Parking Fee

Parking costs 20 taka for the first hour and 10 taka for each started hour after that. Given the minutes parked (at least 1), print the fee.

Input

One integer m (1 ≤ m ≤ 10⁵).

Output

The fee.

Sample 1

Input
30
Output
20

Sample 2

Input
60
Output
20
solution.py
Output appears here
Parking Fee · Python Arena problem · LearnPy Hub