q = int(input().strip()) for a0 in range(q): len,c = input().strip().split(' ') len,c = [int(len),int(c)] print (-1)