H, FFC = gets.split.map(&:to_f) #S = 8.245 + 6.807 * H + 7.073 * FFC S = -8.245 + 6.807 * H + 7.073 * FFC puts S * 3