#!/usr/bin/env python3 # NOTE: it is recommended to use this even if you don't understand the following code. import sys # uncomment the two following lines if you want to read/write from files # sys.stdin = open('input.txt') # sys.stdout = open('output.txt', 'w') N = int(input().strip()) pieces = 0 tiling = [[0 for j in range(N)] for i in range(N)] # INSERT YOUR CODE HERE print(pieces) for j in range(N): for i in range(N): print(tiling[j][i], end=' ') print() sys.stdout.close()