d=gets.to_i a,b=gets.split.map(&:to_i) puts a == 0 ? d : (b == 0 ? 0 : d / 2.0)