x,y,d=gets.split.map(&:to_i) l=[x,y].min if l