This page is still under construction.

Parts of this page are still being built. What you see may change.

Bank Transfer

Interview

Time limit1sMemory limit512 MB

Summary
Given the transfer amount k, compute the commission of 25 tugriks plus 1 percent of k, clamped between 100 and 2000.
Level

Easy2 of 10

Topics
Math, Implementation, Brute force
Solved
No attempts yet

Problem

Tanya has an account at "Redgotts" bank. The bank charges a commission to transfer money to "Bluegotts" bank, where her friend Vanya has an account.

Tanya read her bank's 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 plans to transfer k tugriks to Vanya. Help her find out what the commission would be.

Input

Input is a single integer k (200≤k≤109200 \le k \le 10^9).

Output

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.

Examples3

  1. Example 1

    Input
    20210
    
    Expected output
    227.10
    
  2. Example 2

    Input
    9000
    
    Expected output
    115.00
    
  3. Example 3

    Input
    300000
    
    Expected output
    2000.00