import std.stdio, std.format, std.string, std.algorithm;

int calc( int r, int v ) {
  return v * ( 100 + r ) / 100;
}

void main()
{
  immutable int NONE = -1;
  auto table = new int[][]( 100, 1000 );
  foreach ( ary; table ) {
	ary[] = NONE;
  }
  foreach ( r; 1 .. 100 ) {
	int before = 1;
	while ( true ) {
	  immutable int after = calc( r, before );
	  if ( after < 1000 ) {
		table[ r ][ after ] = before;
	  } else {
		break;
	  }
	  before++;
	}
  }
  
  while ( true ) {
	int x, y, n;
	string input = strip( readln() );
	formattedRead( input, "%d %d %d", &x, &y, &n );
	if ( x == 0 && y == 0 && n == 0 ) break;

	int ans = -1;
	foreach ( i; 1 .. n ) {
	  if ( table[ x ][ i ] != NONE &&
		   table[ x ][ n - i ] != NONE ) {
		ans = max( ans, calc( y, table[ x ][ i ] ) + calc( y, table[ x ][ n - i ] ) );		
	  }
	}
	writeln( ans );
  }    
}