#include
#include
int main(int argc, const char * argv[]) {
FILE *in = fopen("input.txt", "r");
int n;
fscanf(in, "%d", &n);
int mat[n][n];
for(int i = 0; i < n; i++) {
for(int j = 0; j < n; j++) {
fscanf(in, "%d", &mat[i][j]);
}
}
for(int i = 0; i < n; i++) {
for(int j = 0; j < n; j++) {
printf("%d ", mat[i][j]);
}
printf("\n");
}
return 0;
}
/*
1 2 3 4 5 6 7 8
2 1 2 3 4 5 6 7
3 4 5 6 7 8 9 10
4 5 6 7 8 9 10 0
5 6 7 8 9 10 0 1
6 7 8 9 10 0 1 2
**/