int main(void){ char ch;int i;scanf("%c",&ch);for(i=1;i<=9;i++){ printf("%c",ch);if(i%3 == 0)printf("\n");} return 0;}