int main(){
int n,m,x;
vector<vector<int>> M;
cin>>n>>m;
for(int i=1;i<=n;++i){
vector<int> aux;
for(int j=1;j<=m;++j){
cin>>x;
aux.push_back(x);
}
M.push_back(aux);
}
for(vector<int> m:M){
for(int i:m)cout<<i<<’ ‘;
cout<<’\n’;
}
}