시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 512 MB | 1456 | 1026 | 955 | 70.324% |
Tanya has an account in "Redgotts" bank. The bank has the commission to transfer money to "Bluegotts" bank that her friend Vanya has the account in.
Tanya has read her bank rules and learned the following:
The commission for the bank transfer is $25$ tugriks plus $1\%$ of the sum transferred. However, the commission is never smaller than $100$ tugriks, and cannot exceed $2000$ tugriks.
Tanya is planning to transfer $k$ tugriks to Vanya. Help her find out what the commission would be.
Input is a single integer $k$ ($200 \le k \le 10^9$).
Output one floating point value: the commission for the transfer. The value must be printed with at least two exact digits after the decimal point.
20210
227.10
9000
115.00
300000
2000.00