/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	
	static int r(int a,int b) {return "⍄䐲㑦晃䚈衤䚈衤䚈衤䚈衤㑦晃⍄䐲".codePointAt(a*2+b/4)>>(3-b%4)*4&15;}
	
	public static void main (String[] args) throws java.lang.Exception
	{
		for (int i = 0; i < 8; i++) {
	    	for (int j = 0; j < 8; j++) {
	    		System.out.print(r(i,j) + " ");
	    	}
    	System.out.print("\n");
    	}
	}
}