import scala.collection.mutable.* import scala.io.StdIn.* import scala.util.chaining.* import scala.math.* import scala.reflect.ClassTag import scala.util.* import scala.annotation.tailrec import scala.collection.mutable @main def main = val testCase = readLine.toInt for _ <- 0 until testCase do val Array(x, y) = readLine.split(' ').map(_.toInt) println{ if x >= y || x > 4 then "Yes" else "No" }