class Array def foo self[0] <= self[1] && self[0] <= self[2] end end puts gets.split.map!(&:to_i).foo ? 'Yes' : 'No'