import numpy input = input() input = input.split(' ') input = numpy.array(input, int) print(numpy.reshape(input, (3,3)))