import math
for i in range(int(input())):
L,R=map(int,input().split())
ans=list(range(L,R))
ini=[R]
ans=ini+ans
if L%2==0 and R%2==0:
print(-1)
else:
if math.gcd(L,R)==1:
print(*ans, sep=’ ‘)
else:
first=ans[0]
second=ans[R-L-1]
ans[0]=second
ans[R-L-1]=first
print(*ans, sep=’ ')
can someone explain why is this code wrong? At what test case does it fail?