## Problem B. Bread crusts ≡

• problems
• en ru
 Author: Антон Карабанов Time limit: 1 sec Input file: Standard input Memory limit: 512 Mb Output file: Standard output

### Statement

In the "Three minnows" tavern for a gold coins you can buy three bread crusts and get back some change, or, for b gold coins — five bread crusts and some change. How many bread crumbs you are guaranteed to get for c golden coins?

One gold coin is equal to 100 silver coins. There are no other coin types in the country. One bread crust price is a whole number of silver coins. To get three bread crusts and a change for a gold coins means that three crusts cost strictly less than a golden coins, but four crusts cost more than a gold coins.

### Input format

Input contains three integers a, b and c, one per line. Input data is such that the answer exists.

### Output format

Output a single integer — problem answer.

1 ≤ a < b ≤ 109

1 ≤ c ≤ 109

### Sample tests

No. Standard input Standard output
1
8
13
100
38

0.055s 0.008s 13