a=STDIN.gets.to_i b=STDIN.gets.to_i a=Rational(a,100) b=Rational(b,1) ans=b.to_i+(b*a/(1-a)).to_i puts ans