import math as m from decimal import Decimal a, b = map(int,input().split()) s = 50*a + m.floor(50*a / (Decimal("0.8") + Decimal("0.2")*b)) print(s)