SDE Path

Print the Matrix

Easy

Print the Matrix

Read a grid and print it back row by row.

Input format

The first line has two integers R and C. Each of the next R lines has C space-separated integers describing one row of the matrix.

Output format

Print the matrix exactly as read: R lines, each with C space-separated integers.

Constraints

  • Values fit in a 64-bit signed integer
  • Trailing whitespace and a trailing newline are ignored by the judge

Read from stdin, write to stdout. Sample cases below show the exact format.

Sample cases

Example 1
Input
2 2
1 2
3 4
Expected output
1 2
3 4
Example 2
Input
1 3
5 6 7
Expected output
5 6 7