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