puts(readlines.map{ $1.split.map(&:to_i) }.map do |ary| :>=.to_proc.call(*ary) || ary.first > 4 ? 'Yes' : 'No' end)