using System;
public class Program
{
public static void Main()
int a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("-------------");
for (int x = 0; x <= 4; x++)
if(x % 2 > 0 && x != 0){
for (int y = 0; y < 4; y++)
Console.Write("{0} ", a);
}
Console.WriteLine();
if(x % 2 == 0 && x != 0){
Console.Write("{0}", a);