You are on page 1of 1

1 2 3 3 5 5 6 6 7 9

0 0 0 2 3 6 6 6 7 9

def main():
a=int(input())
d=[]
for i in range(a):
count=0

e=int(input())
b=list(map(int,input().split()))
c=list(map(int,input().split()))
b.sort()
c.sort()
print(b)
print(c)
for r in range(0,e):
for j in range(k,e):
print(b[r],c[j])
if(b[r]>c[j]):

count=count+1
break
d.append(count)
for i in d:
print(i)

# Write code here

main()

You might also like