import java.util.*;
public class tab7{
	public static void main(String[]args){
		Random r = new Random();
		int tab[][] = new int[10][10];
		for (int v = 0; v<tab.length; v++){
			for (int s = 0; s<tab[v].length; s++){
				tab[v][s] = r.nextInt(33,107);
				if (tab[v][s] % 2 == 0)
					System.out.printf("%4d", tab[v][s]);
				else
					System.out.print("  --");
			}
			System.out.println();
		}
		System.out.println();
		for (int v = 0; v<tab.length; v++){
			for (int s = 0; s<tab[v].length; s++){
				System.out.printf("%4d", tab[v][s]);
			}
			System.out.println();
		}
	}
}