N,K=map(int,input().split()) T=list(map(int,input().split())) U=list(map(int,input().split())) from random import randint for i in range(N): b = randint(1,10**9) m = randint(1,10**9) if b