/* package whatever; // don't place package name! */
import java.util.Scanner;
public class Main {
public static void main
(String[] args
) { int tmpSize = 9; //default
final Scanner scanner
= new Scanner
(System.
in); if (scanner.hasNextInt()) {
tmpSize = scanner.nextInt();
}
scanner.close();
final int size = tmpSize;
for (int i = 0 ; i < size; i++) {
for (int j = 0; j < size; j++) {
System.
out.
print(j
== i
|| j
== size
- i
- 1 ? 'x' : ' '); }
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC5TY2FubmVyOwoKcHVibGljIGNsYXNzIE1haW4gewoKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBpbnQgdG1wU2l6ZSA9IDk7IC8vZGVmYXVsdAogICAgICAgIGZpbmFsIFNjYW5uZXIgc2Nhbm5lciA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CiAgICAgICAgaWYgKHNjYW5uZXIuaGFzTmV4dEludCgpKSB7CiAgICAgICAgICAgIHRtcFNpemUgPSBzY2FubmVyLm5leHRJbnQoKTsKICAgICAgICB9CiAgICAgICAgc2Nhbm5lci5jbG9zZSgpOwoKICAgICAgICBmaW5hbCBpbnQgc2l6ZSA9IHRtcFNpemU7CiAgICAgICAgZm9yIChpbnQgaSA9IDAgOyBpIDwgc2l6ZTsgaSsrKSB7CiAgICAgICAgICAgIGZvciAoaW50IGogPSAwOyBqIDwgc2l6ZTsgaisrKSB7CiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KGogPT0gaSB8fCBqID09IHNpemUgLSBpIC0gMSA/ICd4JyA6ICcgJyk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCk7CiAgICAgICAgfQogICAgfQp9Cg==