Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EIUMARKUP - Bills

To encourage customers to buy more products, your store run discounts as the following:

  • For first 100 products, each product costs 200 VND
  • For the next 100 products, each product costs 199 VND
  • For the next 100 products, each product cost 198 VND.
  • ...

However, to make sure that the store will get some benefits, the price must be never lower than 180 for each product.

Input

The only line contains the number of product which a customer wants to buy (denoted by N, 0 <= N <= 105 )

Output

Output the amount of money the customer must pay.

Example

Input:
250

Output:
49800

Added by:Ha Minh Ngoc
Date:2017-12-04
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.