t = int(input()) for _ in range(t): a, b = map(int, input().split())#then just if a<b : elif a>b etc.