fork download
  1. t=int(input())
  2. for i in range(t):
  3. x,y=map(int,input().split())
  4. if x>y:
  5. print("NO")
  6. else:
  7. print("YES")
Success #stdin #stdout 0.03s 9704KB
stdin
4
2 5
4 3
6 6
10 9
stdout
YES
NO
YES
NO