import math A,B = map(int,input().split()) print(50 * A + math.floor(50 * A / (0.8 + 0.2 * B)))