#include <iostream>
#include <cstring>
using namespace std;
int main()
{
int l[3][3];
memset (l, 1, sizeof(l));
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
cout << l[i][j] << " ";
}
cout << endl;
}
return 0;
}
CSNpbmNsdWRlIDxpb3N0cmVhbT4KCSNpbmNsdWRlIDxjc3RyaW5nPgoJCgl1c2luZyBuYW1lc3BhY2Ugc3RkOwoJCglpbnQgbWFpbigpCgl7CgkJaW50IGxbM11bM107CgkJbWVtc2V0IChsLCAxLCBzaXplb2YobCkpOwoJCWZvciAoaW50IGkgPSAwOyBpIDwgMzsgaSsrKSB7CgkJCWZvciAoaW50IGogPSAwOyBqIDwgMzsgaisrKSB7CgkJCQljb3V0IDw8IGxbaV1bal0gPDwgIiAiOwoJCQl9CgkJCWNvdXQgPDwgZW5kbDsKCQl9CgkJcmV0dXJuIDA7Cgl9