VAT (value-added tax) is a tax imposed at a certain rate proportional to the sale price.  Our store uses the following rules to calculate the after-tax prices.    * When the VAT rate is _x_ %, for an item with the before-tax price of _p_ yen, its after-tax price of the item is _p_  (100+ _x_ ) / 100 yen, fractions rounded off.    * The total after-tax price of multiple items paid at once is the sum of after-tax 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 after-tax price may have different total after-tax prices after VAT rate changes." For example, when the VAT rate rises from 5% to 8%, a pair of items that had the total after-tax prices of 105 yen before can now have after-tax prices either of 107, 108, or 109 yen, as shown in the table below.  Before-tax prices of two items| After-tax price with 5% VAT| After-tax 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 VAT-rate changes on after-tax prices. You are asked to write a program that calculates the possible maximum total after-tax price of two items with the new VAT rate, knowing their total after- tax price before the VAT rate change.
#!/usr/bin/env python
# -*- coding: utf-8 -*-

while True:
    x,y,s = map(int,input().split())
    if (x,y,s) == (0,0,0):
        break
    ans = 0
    for i in range(1,s):
        for j in range(1,s-i):
            if i*(100+x)//100 + j*(100+x)//100== s:
                ans = max(ans,i*(100+y)//100 + j*(100+y)//100)
    print(ans)
#!/usr/bin/env python
# -*- coding: utf-8 -*-

while True:
    x,y,s = map(int,input().split())
    if (x,y,s) == (0,0,0):
        break
    ans = 0
    for i in range(1,s//2 + 1):
        for j in range(1,s-i + 1):
            if i*(100+x)//100 + j*(100+x)//100== s:
                ans = max(ans,i*(100+y)//100 + j*(100+y)//100)
    print(ans)