A,B=gets.split.map(&:to_i) ans = (50 * A) + ((50 * A) / (0.8 + 0.2 * B)) print ans.floor