var a,b,c:word;s:char;begin read(a,s,b,s,c);repeat dec(a);writeln(b);b:=b+b*c div 100until a=0end.