import math A,B=(float(i) for i in input(). split ()) A*=50 B*=0.2 B+=0.8 A+=math.floor(A/B) print(int(A))