Problem Description

Rar the Cat is bored of asking students to print squares, triangles and even diamonds. As such, he is asking you to print a new shape, hexagon.

The hexagon Rar the Cat wants you to print will be N units long on all of its 6 sides. (Refer to Sample Testcases)

Input

A single positive integer, N. N will not exceeed 100

Output

A hexagon with N units long on all of its 6 sides, comprising of 'x'.

You are not to print extra spaces after the last 'x' of the line or you might encounter 'Presentation Error' although the 'x' were printed correctly.

Sample Testcase 1

Input

3

Output

  xxx
 xxxxx
xxxxxxx
 xxxxx
  xxx

Sample Testcase 2

Input

7

Output

      xxxxxxx
     xxxxxxxxx
    xxxxxxxxxxx
   xxxxxxxxxxxxx
  xxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxx
   xxxxxxxxxxxxx
    xxxxxxxxxxx
     xxxxxxxxx
      xxxxxxx