import math import sys input = sys.stdin.readline a, b = list(map(int, input().split(' '))) def calc(n, k): return(50 * n + math.floor((50 * n) / (0.8 + 0.2 * k))) print(calc(a, b))