Compact discs
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Blank compact discs are on sale in packages of three kinds. A package with disсs costs UAH, one with discs costs UAH, and one disс costs UAH. What minimal sum of money should you pay to buy such disсs?
Input
The natural number ( ≤ ).
Output
Print the minimal sum to buy disсs.
.
Examples
Input #1
Answer #1
Submissions 29K
Acceptance rate 21%