Var sum, required_sum, percent : real;
years : integer;
Begin
read(sum, percent, required_sum);
if percent > 1 then percent := percent / 100;
repeat
sum := trunc(100 * sum * (1 + percent)) / 100;
years := years + 1;
writeln(years, ' sum = ', sum);
until sum >= required_sum;
writeln(years);
End.