#include <sstream>
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <limits>
int main() {
int rows;
std::cin >> rows;
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
std::vector<std::vector<int>> table(rows);
for(int i = 0; i < rows; ++i) {
std::string temp;
std::getline(std::cin, temp);
std::istringstream line(temp);
std::copy(std::istream_iterator<int>(line),
std::istream_iterator<int>(),
std::back_inserter(table[i]));
}
for(const auto& v: table) {
for(int i: v)
std::cout << i << ' ';
std::cout << '\n';
}
}
I2luY2x1ZGUgPHNzdHJlYW0+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgojaW5jbHVkZSA8bGltaXRzPgoKCmludCBtYWluKCkgewogICAgaW50IHJvd3M7CiAgICBzdGQ6OmNpbiA+PiByb3dzOwogICAgc3RkOjpjaW4uaWdub3JlKHN0ZDo6bnVtZXJpY19saW1pdHM8c3RkOjpzdHJlYW1zaXplPjo6bWF4KCksICdcbicpOwogICAgc3RkOjp2ZWN0b3I8c3RkOjp2ZWN0b3I8aW50Pj4gdGFibGUocm93cyk7CiAgICBmb3IoaW50IGkgPSAwOyBpIDwgcm93czsgKytpKSB7CiAgICAgICAgc3RkOjpzdHJpbmcgdGVtcDsKICAgICAgICBzdGQ6OmdldGxpbmUoc3RkOjpjaW4sIHRlbXApOwogICAgICAgIHN0ZDo6aXN0cmluZ3N0cmVhbSBsaW5lKHRlbXApOwogICAgICAgIHN0ZDo6Y29weShzdGQ6OmlzdHJlYW1faXRlcmF0b3I8aW50PihsaW5lKSwKICAgICAgICAgICAgICAgICAgc3RkOjppc3RyZWFtX2l0ZXJhdG9yPGludD4oKSwKICAgICAgICAgICAgICAgICAgc3RkOjpiYWNrX2luc2VydGVyKHRhYmxlW2ldKSk7CiAgICB9CiAgICBmb3IoY29uc3QgYXV0byYgdjogdGFibGUpIHsKICAgICAgICBmb3IoaW50IGk6IHYpCiAgICAgICAgICAgIHN0ZDo6Y291dCA8PCBpIDw8ICcgJzsKICAgICAgICBzdGQ6OmNvdXQgPDwgJ1xuJzsKICAgIH0KfQo=