#include<stdio.h>
int main(void){
	int s,i,j,max,x,y,a,b;
	while(1){
		max=0;
		scanf("%d %d %d",&x,&y,&s);
		if(x==0 && y==0 && s==0){
			break;
		}
		for(i=1;i<=s-i;i++){
			for(j=s-i;i<=j;j--){
				a=i*(100+x)*0.01;b=j*(100+x)*0.01;
				if(a+b==s){
					a=i*(100+y)*0.01;b=j*(100+y)*0.01;
					if(a+b>max){
						max=a+b;
						printf("%d %d %d\n",i,j,max);
					}
				}
			}
		}
		printf("%d\n",max);
	}
}