import java.util.*;
public class Text16 {
public void add(){
Scanner input=new Scanner(System.in);
System.out.println("请输入行数:");
int num=input.nextInt();
num/=2;
System.out.println("奥 迪 双 钻");
for (int i = 1; i <= num; i++) {
for (int j = i; j <= num; j++) {
System.out.print(" ");
}
for (int j = 1; j <= i * 2 - 1; j++) {
System.out.print("*");
}
for(int j=i;j<=num;j++){
System.out.print(" ");
}
for(int j=i;j<=num;j++){
System.out.print(" ");
}
for (int j = 1; j <= i * 2 - 1; j++) {
System.out.print("*");
}
System.out.println();
}
for (int i = num + 1; i >= 1; i--) {
for (int j = i - 1; j <= num - 1; j++) {
System.out.print(" ");
}
for (int j = i * 2 - 1; j >= 1; j--) {
System.out.print("*");
}
for(int j=i;j<=num;j++){
System.out.print(" ");
}
for(int j=i;j<=num;j++){
System.out.print(" ");
}
for (int j = 1; j <= i * 2 - 1; j++) {
System.out.print("*");
}
System.out.println();
}
}
public static void main(String[] args) {
Text16 hehe=new Text16();
hehe.add();
}
}