#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int color[1001][1001];
int main() {
int i, j;
memset(color, 1, sizeof(color));
for(i = 0; i < 4; i++) {
for(j = 0; j < 4; j++) {
printf("%X ", color[i][j]);
}
printf("\n");
}
printf("\n");
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgojaW5jbHVkZSA8Y3N0ZGxpYj4KI2luY2x1ZGUgPGNzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgY29sb3JbMTAwMV1bMTAwMV07CgppbnQgbWFpbigpIHsKICAgIGludCBpLCBqOwogICAgbWVtc2V0KGNvbG9yLCAxLCBzaXplb2YoY29sb3IpKTsKICAgIGZvcihpID0gMDsgaSA8IDQ7IGkrKykgewogICAgICAgIGZvcihqID0gMDsgaiA8IDQ7IGorKykgewogICAgICAgICAgICBwcmludGYoIiVYICIsIGNvbG9yW2ldW2pdKTsKICAgICAgICB9CiAgICAgICAgcHJpbnRmKCJcbiIpOwogICAgfQogICAgcHJpbnRmKCJcbiIpOwoKICAgIHJldHVybiAwOwp9