Tax Rate Changed

No attempts yetTime limit1sMemory limit256 MB

Problem

With VAT rate x%, the after-tax price of a before-tax price p is p(100+x)/100\lfloor p(100+x)/100 \rfloor. Two items once had a combined after-tax total of s yen. After the rate changes to y%, what is the largest combined after-tax total achievable by some pair of before-tax prices that used to total s?

Input

Multiple datasets, one per line: x, y, s. Input ends with 0 0 0. Consider every before-tax price from 1 through s-1 for each item.

Output

For each dataset, print the maximum possible combined after-tax total at rate y%.