#include<stdio.h>
#include<math.h>

int main() {

	double x,y;
	double s,i;
	int max;
	int g1,g2;
	int flag;
	double cx,cy;

	for(;;) {
		scanf("%lf %lf %lf",&x,&y,&s);
		if(!x&&!y&&!s)
			break;
		max=0;
		for(i=1;i<=s-1;i++) {

			cx=(100+x)/100;
			cy=(100+y)/100;
			flag=0;

			g1=(int)(ceil(i/cx));
			printf("%d ",g1);
			if(floor(g1*cx)==i)
				g1=floor(g1*cy);
			else
				flag=1;

			g2=(int)(ceil((s-i)/cx));
			printf("%d %f\n",g2,cy);
			if(floor(g2*cx)==s-i)
				g2=floor(g2*cy);
			else
				flag=1;

			printf("%d %d\n",g1,g2);
			printf("\n");

			if(max<g1+g2&&flag==0)
				max=g1+g2;

		}
		printf("%d\n",max);
	}
	return 0;
}