from decimal import Decimal as d f=lambda n,k:int(d("50")*d(n)+(d("50")*d(n))//(d("0.8")+d("0.2")*d(k))) a,b=input().split() print(f(a,b))