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