# Here your code ! def F(n,k): return 50 * n + 50 * n / (0.8 + 0.2 * k) n,k = map(int,input().split()) print(int(F(n,k)))