Under construction

Still being built. Things may change

Finding the Price of Sweet Corn

Time limit1sMemory limit1024 MB

Summary
Given the price B that includes a 10% value-added tax, find the price A before tax. B is a multiple of 11, so A is B divided by 11, times 10.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

통조림 이미지

The sweet corn costs AA won. AA is a multiple of 100100. However, when a 10%10\% value-added tax is added to the sweet corn, the price becomes BB won.

Given the price BB including value-added tax, find the price AA without the tax.

Input

The first line contains an integer BB (1 100≤B≤9 9001\,100 \le B \le 9\,900). BB is a multiple of 1111.

Output

Print the price AA without value-added tax on the first line.

Examples3

  1. Example 1

    Input
    1100
    
    Expected output
    1000
    
  2. Example 2

    Input
    2970
    
    Expected output
    2700
    
  3. Example 3

    Input
    9900
    
    Expected output
    9000