def print1D(a,size): for i in range(size): print(a[i],end = ‘ ‘) n,size = map(int,input().split()) a = list(map(int,input().split())) print1D(a,size)