n, k = gets.split.map(&:to_i) ans = 50 * n + 50 * n / ( 0.8 + 0.2 * k ) puts ans.floor