using System;
public class HollowSquare
{
public static void Main()
{
int n;
int i, j;
Console.Write("Enter number for the border of the square: ");
n = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter total: ");
width = Convert.ToInt32(Console.ReadLine());
for (i = 0; i; i++)
Console.Write(n);
Console.WriteLine();
for (i = 0; i - 2; i++)
{
Console.Write(n);
for (j = 0; j - 2; j++)
Console.Write(" ");
Console.WriteLine(n);
}
for (i = 0; i; i++)
Console.Write(n);
Console.WriteLine();
}
}