n = gets.chomp.split.map(&:to_f) p ((n.max)**2 - (n.min)**2)**0.5