def f(n,k): return 50*n+int(50*n/(0.8+0.2*k)) if __name__=="__main__": n,k=map(int,input().split()) print(f(n,k))