VAT (valueadded tax) is a tax imposed at a certain rate proportional to the sale price.
Our store uses the following rules to calculate the aftertax prices.
When the VAT rate is x%, for an item with the beforetax price of p yen, its aftertax price of the item is p (100+x) / 100 yen, fractions rounded down.
The total aftertax price of multiple items paid at once is the sum of aftertax prices of the items.
The VAT rate is changed quite often. Our accountant has become aware that "different pairs of items that had the same total aftertax price may have different total aftertax prices after VAT rate changes." For example, when the VAT rate rises from 5% to 8%, a pair of items that had the total aftertax prices of 105 yen before can now have aftertax prices either of 107, 108, or 109 yen, as shown in the table below.
Beforetax prices of two items

Aftertax price with 5% VAT

Aftertax price with 8% VAT

20, 80

21 + 84 = 105

21 + 86 = 107

2, 99

2 + 103 = 105

2 + 106 = 108

13, 88

13 + 92 = 105

14 + 95 = 109

Our accountant is examining effects of VATrate changes on aftertax prices. You are asked to write a program that calculates the possible maximum total aftertax price of two items with the new VAT rate, knowing their total aftertax price before the VAT rate change.
The input consists of multiple datasets. Each dataset is in one line, which consists of three integers x, y, and s separated by a space. x is the VAT rate in percent before the VATrate change, y is the VAT rate in percent after the VATrate change, and s is the sum of aftertax prices of two items before the VATrate change. For these integers, (0 < x < 100), (0 < y < 100), (10 < s < 1,000), and (x ≠ y) hold. For beforetax prices of items, all possibilities of 1 yen through s1 yen should be considered.
The end of the input is specified by three zeros separated by a space.
For each dataset, output in a line the possible maximum total aftertax price when the VAT rate is changed to y%.
5 8 105
8 5 105
1 2 24
1 99 11
0 0 0
109
103
24
20