#include <stdio.h>
int main()
{
    int rows;
    int cols;
    scanf("%d",&rows);
    scanf("%d",&cols);
    int mat[rows][cols];
    for(int i=0;i<rows;i++)
    {
        for(int j=0;j<cols;j++)
        {
            scanf("%d",&mat[i][j]);
        }
    }
    for(int i=0;i,rows;i++)
     {
        for(int j=0;j<cols;j++)
        {
            printf("%d",mat[i][j]);
        }
        printf("\n";)
    }
    return 0;
}