import math A,B=(float(i) for i in input(). split ()) A*=50 #print (A) A1=A*10 B*=2 B+=8 C=A1/B #print (C) if int(C)-C<0.00001: C=float(int(C)) D=math.floor(C) A+=D print(int(A))