for i in range(N):
    print(' '.join(map(str, x[i])))