#include
int main()
{int n,i,j,k,a[20][20];
scanf("%d",&n);
for(i=0;i {for(j=0;j {k=i+1 k=k k=k a[i][j]=k; printf("%3d",a[i][j]); } printf("\n"); } return 0; }
{for(j=0;j {k=i+1 k=k k=k a[i][j]=k; printf("%3d",a[i][j]); } printf("\n"); } return 0; }
{k=i+1 k=k k=k a[i][j]=k; printf("%3d",a[i][j]); } printf("\n"); } return 0; }
k=k k=k a[i][j]=k; printf("%3d",a[i][j]); } printf("\n"); } return 0; }
k=k a[i][j]=k; printf("%3d",a[i][j]); } printf("\n"); } return 0; }
a[i][j]=k;
printf("%3d",a[i][j]);
}
printf("\n");
return 0;