import math def main(): A, B = map(int, input().split()) ans = 50 * A + math.floor(50 * A / (0.8 + 0.2 * B)) print(ans) if __name__ == '__main__': main()