1 m = int(input()) 2 grid = [[] for i in range(m)] 3 for i in range(m): 4 line = input().split(' ') 5 for j in range(len(line)): 6 grid[i].append(int(line[j]))