Compact discs
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Blank compact discs are available in three different package options:
A package of 100 discs for 100 UAH
A package of 20 discs for 30 UAH
A single disc for 2 UAH
Your goal is to buy at least discs using the minimum amount of money possible.
Input
The input consists of a single integer , representing the number of discs you want to buy.
Output
Print the minimum amount of money needed to buy at least discs.
Examples
Input #1
Answer #1
Submissions 30K
Acceptance rate 21%