let r() = float(stdin.ReadLine()) let K,S = r(),r()*60. let s = int(S/(100.-K)*100.)/60 printfn "%d" s