public static void Main()
int n = int.Parse(Console.ReadLine());
Console.WriteLine("{0}^{0}", new string('\'', n));
Console.WriteLine("{0}{1}{0}", new String('\'', n-(counter+1)), new string('^', i+=2));
Console.WriteLine("{0}{1}{0}", new String('\'', n-(counter+1)), new string('^', i+=2));
Console.WriteLine("{0}| |{0}", new string('\'', n-1));
Console.WriteLine("{0}", new string('-', (n*2)+1));