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