def g;gets.split.map(&:to_i)end puts (g<=>g)>=0?:YES:"NO"