Tripling a matrix

Write a program that reads a matrix m×nm \times n and prints it with its elements tripled.

Input

Input consists of two natural numbers strictly positive mm and nn, followed mm lines with nn integer numbers each one.

Output

Print the matrix with its elements tripled, following the format of the instance.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:20:55.449Z

© Jutge.org, 2006–2026.
https://jutge.org