#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */
typedef struct TYPE_10__ TYPE_5__;
typedef struct TYPE_9__ TYPE_4__;
typedef struct TYPE_8__ TYPE_3__;
typedef struct TYPE_7__ TYPE_2__;
typedef struct TYPE_6__ TYPE_1__;

/* Type definitions */
struct TYPE_10__ {
  char member_0;
  char member_1;
  char member_2;
  char member_3;
  char member_4;
};
struct TYPE_9__ {
  char member_0;
  char member_1;
  char member_2;
  char member_3;
  char member_4;
};
struct TYPE_8__ {
  char member_0;
  char member_1;
  char member_2;
  char member_3;
  char member_4;
};
struct TYPE_7__ {
  char member_0;
  char member_1;
  char member_2;
  char member_3;
  char member_4;
};
struct TYPE_6__ {
  char member_0;
  char member_1;
  char member_2;
  char member_3;
  char member_4;
};

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  char fonts[3][5][5] = {{{' ', ' ', '*', ' ', ' '},
                          {' ', ' ', '*', ' ', ' '},
                          {' ', ' ', '*', ' ', ' '},
                          {' ', ' ', '*', ' ', ' '},
                          {' ', ' ', '*', ' ', ' '}},
                         {{'*', '*', '*', '*', '*'},
                          {' ', ' ', ' ', ' ', '*'},
                          {' ', '*', '*', '*', ' '},
                          {'*', ' ', ' ', ' ', ' '},
                          {'*', '*', '*', '*', '*'}},
                         {{'*', '*', '*', '*', '*'},
                          {' ', ' ', ' ', ' ', '*'},
                          {' ', '*', '*', '*', '*'},
                          {' ', ' ', ' ', ' ', '*'},
                          {'*', '*', '*', '*', '*'}}};
  int n, i, j;
  printf("input n =");
  scanf("%d", &n);
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++)
      putchar(fonts[n][i][j]);
    putchar('\n');
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xea6(%rip),%rsi
mov    $0x4b,%edx
call   1050 <memcpy@plt>
lea    0xee0(%rip),%rdi
call   1040 <printf@plt>
lea    0xede(%rip),%rdi
lea    -0x54(%rbp),%rsi
call   1060 <scanf@plt>
movl   $0x0,-0x58(%rbp)
cmpl   $0x5,-0x58(%rbp)
jge    11ef <main+0xaf>
movl   $0x0,-0x5c(%rbp)
cmpl   $0x5,-0x5c(%rbp)
jge    11d7 <main+0x97>
movslq -0x54(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x19,%rcx,%rcx
add    %rcx,%rax
movslq -0x58(%rbp),%rcx
imul   $0x5,%rcx,%rcx
add    %rcx,%rax
movslq -0x5c(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1030 <putchar@plt>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1198 <main+0x58>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1187 <main+0x47>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xf0f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf0d(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
lea    0xe9a(%rip),%rbx
movsbl (%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x1(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x2(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x3(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x4(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x5(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x6(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x7(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x8(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x9(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xa(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xb(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xc(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xd(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xe(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0xf(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x10(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x11(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x12(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x13(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x14(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x15(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x16(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x17(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
movslq 0xc(%rsp),%rax
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rax
movsbl 0x18(%rbx,%rax,1),%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.main.fonts = [3 x [5 x [5 x i8]]] [[5 x [5 x i8]] [[5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * "], [5 x [5 x i8]] [[5 x i8] c"*****", [5 x i8] c" *", [5 x i8] c" *** ", [5 x i8] c"* ", [5 x i8] c"*****"], [5 x [5 x i8]] [[5 x i8] c"*****", [5 x i8] c" *", [5 x i8] c" ****", [5 x i8] c" *", [5 x i8] c"*****"]]
@.str = [10 x i8] c"input n =\00"
@.str.1 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [3 x [5 x [5 x i8]]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = bitcast [3 x [5 x [5 x i8]]]* %2 to i8*
%7 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
store i32 0, i32* %4
br label %9
9: ; preds = %33, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %36
12: ; preds = %9
store i32 0, i32* %5
br label %13
13: ; preds = %28, %12
%14 = load i32, i32* %5
%15 = icmp slt i32 %14, 5
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load i32, i32* %3
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* %2, i64 0, i64 %18
%20 = load i32, i32* %4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x [5 x i8]], [5 x [5 x i8]]* %19, i64 0, i64 %21
%23 = load i32, i32* %5
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i8], [5 x i8]* %22, i64 0, i64 %24
%26 = load i8, i8* %25
%27 = call i32 @putchar(i8 signext %26)
br label %28
28: ; preds = %16
%29 = load i32, i32* %5
%30 = add nsw i32 %29, 1
store i32 %30, i32* %5
br label %13
31: ; preds = %13
%32 = call i32 @putchar(i8 signext 10)
br label %33
33: ; preds = %31
%34 = load i32, i32* %4
%35 = add nsw i32 %34, 1
store i32 %35, i32* %4
br label %9
36: ; preds = %9
ret i32 0
}

LLVM IR (-O2):
@__const.main.fonts = [3 x [5 x [5 x i8]]] [[5 x [5 x i8]] [[5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * ", [5 x i8] c" * "], [5 x [5 x i8]] [[5 x i8] c"*****", [5 x i8] c" *", [5 x i8] c" *** ", [5 x i8] c"* ", [5 x i8] c"*****"], [5 x [5 x i8]] [[5 x i8] c"*****", [5 x i8] c" *", [5 x i8] c" ****", [5 x i8] c" *", [5 x i8] c"*****"]]
@.str = [10 x i8] c"input n =\00"
@.str.1 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%5 = load i32, i32* %1
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %6, i64 0, i64 0
%8 = load i8, i8* %7
%9 = call i32 @putchar(i8 signext %8)
%10 = load i32, i32* %1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %11, i64 0, i64 1
%13 = load i8, i8* %12
%14 = call i32 @putchar(i8 signext %13)
%15 = load i32, i32* %1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %16, i64 0, i64 2
%18 = load i8, i8* %17
%19 = call i32 @putchar(i8 signext %18)
%20 = load i32, i32* %1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %21, i64 0, i64 3
%23 = load i8, i8* %22
%24 = call i32 @putchar(i8 signext %23)
%25 = load i32, i32* %1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %26, i64 0, i64 4
%28 = load i8, i8* %27
%29 = call i32 @putchar(i8 signext %28)
%30 = call i32 @putchar(i8 signext 10)
%31 = load i32, i32* %1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %32, i64 1, i64 0
%34 = load i8, i8* %33
%35 = call i32 @putchar(i8 signext %34)
%36 = load i32, i32* %1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %37, i64 1, i64 1
%39 = load i8, i8* %38
%40 = call i32 @putchar(i8 signext %39)
%41 = load i32, i32* %1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %42, i64 1, i64 2
%44 = load i8, i8* %43
%45 = call i32 @putchar(i8 signext %44)
%46 = load i32, i32* %1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %47, i64 1, i64 3
%49 = load i8, i8* %48
%50 = call i32 @putchar(i8 signext %49)
%51 = load i32, i32* %1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %52, i64 1, i64 4
%54 = load i8, i8* %53
%55 = call i32 @putchar(i8 signext %54)
%56 = call i32 @putchar(i8 signext 10)
%57 = load i32, i32* %1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %58, i64 2, i64 0
%60 = load i8, i8* %59
%61 = call i32 @putchar(i8 signext %60)
%62 = load i32, i32* %1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %63, i64 2, i64 1
%65 = load i8, i8* %64
%66 = call i32 @putchar(i8 signext %65)
%67 = load i32, i32* %1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %68, i64 2, i64 2
%70 = load i8, i8* %69
%71 = call i32 @putchar(i8 signext %70)
%72 = load i32, i32* %1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %73, i64 2, i64 3
%75 = load i8, i8* %74
%76 = call i32 @putchar(i8 signext %75)
%77 = load i32, i32* %1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %78, i64 2, i64 4
%80 = load i8, i8* %79
%81 = call i32 @putchar(i8 signext %80)
%82 = call i32 @putchar(i8 signext 10)
%83 = load i32, i32* %1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %84, i64 3, i64 0
%86 = load i8, i8* %85
%87 = call i32 @putchar(i8 signext %86)
%88 = load i32, i32* %1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %89, i64 3, i64 1
%91 = load i8, i8* %90
%92 = call i32 @putchar(i8 signext %91)
%93 = load i32, i32* %1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %94, i64 3, i64 2
%96 = load i8, i8* %95
%97 = call i32 @putchar(i8 signext %96)
%98 = load i32, i32* %1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %99, i64 3, i64 3
%101 = load i8, i8* %100
%102 = call i32 @putchar(i8 signext %101)
%103 = load i32, i32* %1
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %104, i64 3, i64 4
%106 = load i8, i8* %105
%107 = call i32 @putchar(i8 signext %106)
%108 = call i32 @putchar(i8 signext 10)
%109 = load i32, i32* %1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %110, i64 4, i64 0
%112 = load i8, i8* %111
%113 = call i32 @putchar(i8 signext %112)
%114 = load i32, i32* %1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %115, i64 4, i64 1
%117 = load i8, i8* %116
%118 = call i32 @putchar(i8 signext %117)
%119 = load i32, i32* %1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %120, i64 4, i64 2
%122 = load i8, i8* %121
%123 = call i32 @putchar(i8 signext %122)
%124 = load i32, i32* %1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %125, i64 4, i64 3
%127 = load i8, i8* %126
%128 = call i32 @putchar(i8 signext %127)
%129 = load i32, i32* %1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [3 x [5 x [5 x i8]]], [3 x [5 x [5 x i8]]]* @__const.main.fonts, i64 0, i64 %130, i64 4, i64 4
%132 = load i8, i8* %131
%133 = call i32 @putchar(i8 signext %132)
%134 = call i32 @putchar(i8 signext 10)
ret i32 0
}