def PrintMatrix(m): for i in m: print(' '.join([str(n) for n in i])) while True: In = input() exec(In) if 'PrintMatrix' in In: break