#include<stdio.h>

int main(){
    int x,y,s;
    int p;
    int i,j;
    int before,after;
    int max;
    
    for(;scanf("%d %d %d", &x, &y, &s),x;){
        max=0;
        p = 100*s/(100+x);
        
        printf("p = %d\n",p);
        
        for(i=1;i<p;i++){
            before = (p-i)*(100+x)/100+i*(100+x)/100;
            printf("b = %d\n",before);
            if(before==s){
                after = (p-i)*(100+y)/100+i*(100+y)/100;
                printf("a = %d\n",after);
                if(after>max)
                    max=after;
            }
        }
        printf("%d\n",max);
    }
    
    return 0;
}