#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 */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ gencallrec(int /*<<< orphan*/, int);
int /*<<< orphan*/ genmergerec(int /*<<< orphan*/, int);
char *getvar(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int n;
  int xhl;
  scanf("%d", &n);
  if (n < 1 || n > 26) {
    printf("//Please enter 1~26\n");
    return 0;
  }
  printf("#include <stdio.h>\n");
  printf("int ");
  for (xhl = 0; xhl < n; xhl++)
    printf("%s%c", getvar(xhl), (xhl == n - 1) ? ';' : ',');
  printf("\n");
  printf("int ");
  for (xhl = 0; xhl < n; xhl++)
    printf("t%s%c", getvar(xhl), (xhl == n - 1) ? ';' : ',');
  printf("\n");
  genmergerec(0, n);
  printf("int main(void)\n"
         "{\n");
  printf("\tprintf(\"Please enter %d numbers:\\n\");\n", n);
  printf("\tscanf(\"");
  for (xhl = 0; xhl < n; xhl++)
    printf("%%d");
  printf("\"");
  for (xhl = 0; xhl < n; xhl++)
    printf(",&%s", getvar(xhl));
  printf(");\n");
  gencallrec(0, n);
  printf("\tprintf(\"");
  for (xhl = 0; xhl < n; xhl++) {
    printf("%%d");
    if (xhl == n - 1)
      printf("\\n\"");
    else
      printf(" ");
  }
  for (xhl = 0; xhl < n; xhl++) {
    printf(",%s", getvar(xhl));
  }
  printf(");\n");
  printf("\treturn 0;\n"
         "}\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf12(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
cmpl   $0x1,-0x8(%rbp)
jl     1183 <main+0x33>
cmpl   $0x1a,-0x8(%rbp)
jle    119d <main+0x4d>
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1417 <main+0x2c7>
lea    0xe71(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe77(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    120b <main+0xbb>
mov    -0xc(%rbp),%edi
call   1030 <getvar@plt>
mov    %rax,%rsi
mov    -0xc(%rbp),%ecx
mov    -0x8(%rbp),%edi
sub    $0x1,%edi
mov    $0x2c,%edx
mov    $0x3b,%eax
cmp    %edi,%ecx
cmove  %eax,%edx
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11c0 <main+0x70>
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe09(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1279 <main+0x129>
mov    -0xc(%rbp),%edi
call   1030 <getvar@plt>
mov    %rax,%rsi
mov    -0xc(%rbp),%ecx
mov    -0x8(%rbp),%edi
sub    $0x1,%edi
mov    $0x2c,%edx
mov    $0x3b,%eax
cmp    %edi,%ecx
cmove  %eax,%edx
lea    0xdca(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    122e <main+0xde>
lea    0xd93(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%esi
xor    %edi,%edi
call   1040 <genmergerec@plt>
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%esi
lea    0xd9d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdb7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12ed <main+0x19d>
lea    0xd9f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12c5 <main+0x175>
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1335 <main+0x1e5>
mov    -0xc(%rbp),%edi
call   1030 <getvar@plt>
mov    %rax,%rsi
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1302 <main+0x1b2>
lea    0xd2e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%esi
xor    %edi,%edi
call   1070 <gencallrec@plt>
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13c1 <main+0x271>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jne    13a0 <main+0x250>
lea    0xcf6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13ae <main+0x25e>
lea    0xc85(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13b3 <main+0x263>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1362 <main+0x212>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13fb <main+0x2ab>
mov    -0xc(%rbp),%edi
call   1030 <getvar@plt>
mov    %rax,%rsi
lea    0xca8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    13c8 <main+0x278>
lea    0xc68(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xc82(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xebe(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%eax
add    $0xffffffe5,%eax
cmp    $0xffffffe6,%eax
jae    11a1 <main+0x31>
lea    0xeef(%rip),%rdi
jmp    13d0 <main+0x260>
lea    0xeaf(%rip),%rdi
call   1060 <puts@plt>
lea    0xe4c(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
cmpl   $0x0,0xc(%rsp)
jle    120f <main+0x9f>
mov    $0x3b,%r14d
lea    0xe37(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %ebp,%edi
call   1030 <getvar@plt>
mov    0xc(%rsp),%ecx
add    $0xffffffff,%ecx
cmp    %ecx,%ebp
mov    $0x2c,%edx
cmove  %r14d,%edx
mov    %rbx,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
jl     11e0 <main+0x70>
mov    $0xa,%edi
call   1050 <putchar@plt>
lea    0xde0(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
cmpl   $0x0,0xc(%rsp)
jle    126f <main+0xff>
mov    $0x3b,%r14d
lea    0xdca(%rip),%rbx
xor    %ebp,%ebp
nopl   (%rax)
mov    %ebp,%edi
call   1030 <getvar@plt>
mov    0xc(%rsp),%ecx
add    $0xffffffff,%ecx
cmp    %ecx,%ebp
mov    $0x2c,%edx
cmove  %r14d,%edx
mov    %rbx,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
jl     1240 <main+0xd0>
mov    $0xa,%edi
call   1050 <putchar@plt>
mov    0xc(%rsp),%esi
xor    %edi,%edi
call   1040 <genmergerec@plt>
lea    0xddf(%rip),%rdi
call   1060 <puts@plt>
mov    0xc(%rsp),%esi
lea    0xd70(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xd8a(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
cmpl   $0x0,0xc(%rsp)
jle    12d3 <main+0x163>
lea    0xd7e(%rip),%rbx
xor    %ebp,%ebp
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
jl     12c0 <main+0x150>
mov    $0x22,%edi
call   1050 <putchar@plt>
cmpl   $0x0,0xc(%rsp)
jle    130d <main+0x19d>
lea    0xd55(%rip),%rbx
xor    %ebp,%ebp
nopl   (%rax)
mov    %ebp,%edi
call   1030 <getvar@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
jl     12f0 <main+0x180>
lea    0xd67(%rip),%rdi
call   1060 <puts@plt>
mov    0xc(%rsp),%esi
xor    %edi,%edi
call   1090 <gencallrec@plt>
lea    0xd1a(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
cmpl   $0x0,0xc(%rsp)
jle    13bd <main+0x24d>
lea    0xcf8(%rip),%rbx
lea    0xd04(%rip),%r14
xor    %ebp,%ebp
jmp    1365 <main+0x1f5>
nop
mov    $0x20,%edi
call   1050 <putchar@plt>
add    $0x1,%ebp
mov    0xc(%rsp),%eax
cmp    %eax,%ebp
jge    1386 <main+0x216>
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0xc(%rsp),%eax
add    $0xffffffff,%eax
cmp    %eax,%ebp
jne    1350 <main+0x1e0>
mov    %r14,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    135a <main+0x1ea>
test   %eax,%eax
jle    13bd <main+0x24d>
lea    0xcc2(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %ebp,%edi
call   1030 <getvar@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
jl     13a0 <main+0x230>
lea    0xcb7(%rip),%rdi
call   1060 <puts@plt>
lea    0xcae(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [21 x i8] c"//Please enter 1~26\0A\00"
@.str.2 = [20 x i8] c"#include <stdio.h>\0A\00"
@.str.3 = [5 x i8] c"int \00"
@.str.4 = [5 x i8] c"%s%c\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [6 x i8] c"t%s%c\00"
@.str.7 = [18 x i8] c"int main(void)\0A{\0A\00"
@.str.8 = [40 x i8] c"\09printf(\22Please enter %d numbers:\\n\22);\0A\00"
@.str.9 = [9 x i8] c"\09scanf(\22\00"
@.str.10 = [4 x i8] c"%%d\00"
@.str.11 = [2 x i8] c"\22\00"
@.str.12 = [5 x i8] c",&%s\00"
@.str.13 = [4 x i8] c");\0A\00"
@.str.14 = [10 x i8] c"\09printf(\22\00"
@.str.15 = [4 x i8] c"\\n\22\00"
@.str.16 = [2 x i8] c" \00"
@.str.17 = [4 x i8] c",%s\00"
@.str.18 = [14 x i8] c"\09return 0;\0A}\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%5 = load i32, i32* %2
%6 = icmp slt i32 %5, 1
br i1 %6, label %10, label %7
7: ; preds = %0
%8 = load i32, i32* %2
%9 = icmp sgt i32 %8, 26
br i1 %9, label %10, label %12
10: ; preds = %7, %0
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %120
12: ; preds = %7
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %3
br label %15
15: ; preds = %29, %12
%16 = load i32, i32* %3
%17 = load i32, i32* %2
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %32
19: ; preds = %15
%20 = load i32, i32* %3
%21 = call i8* @getvar(i32 %20)
%22 = load i32, i32* %3
%23 = load i32, i32* %2
%24 = sub nsw i32 %23, 1
%25 = icmp eq i32 %22, %24
%26 = zext i1 %25 to i64
%27 = select i1 %25, i32 59, i32 44
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %21, i32 %27)
br label %29
29: ; preds = %19
%30 = load i32, i32* %3
%31 = add nsw i32 %30, 1
store i32 %31, i32* %3
br label %15
32: ; preds = %15
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %3
br label %35
35: ; preds = %49, %32
%36 = load i32, i32* %3
%37 = load i32, i32* %2
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %52
39: ; preds = %35
%40 = load i32, i32* %3
%41 = call i8* @getvar(i32 %40)
%42 = load i32, i32* %3
%43 = load i32, i32* %2
%44 = sub nsw i32 %43, 1
%45 = icmp eq i32 %42, %44
%46 = zext i1 %45 to i64
%47 = select i1 %45, i32 59, i32 44
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* %41, i32 %47)
br label %49
49: ; preds = %39
%50 = load i32, i32* %3
%51 = add nsw i32 %50, 1
store i32 %51, i32* %3
br label %35
52: ; preds = %35
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%54 = load i32, i32* %2
%55 = call i32 @genmergerec(i32 0, i32 %54)
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%57 = load i32, i32* %2
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i32 %57)
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %3
br label %60
60: ; preds = %66, %52
%61 = load i32, i32* %3
%62 = load i32, i32* %2
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %69
64: ; preds = %60
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %66
66: ; preds = %64
%67 = load i32, i32* %3
%68 = add nsw i32 %67, 1
store i32 %68, i32* %3
br label %60
69: ; preds = %60
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %3
br label %71
71: ; preds = %79, %69
%72 = load i32, i32* %3
%73 = load i32, i32* %2
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %82
75: ; preds = %71
%76 = load i32, i32* %3
%77 = call i8* @getvar(i32 %76)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* %77)
br label %79
79: ; preds = %75
%80 = load i32, i32* %3
%81 = add nsw i32 %80, 1
store i32 %81, i32* %3
br label %71
82: ; preds = %71
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%84 = load i32, i32* %2
%85 = call i32 @gencallrec(i32 0, i32 %84)
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %3
br label %87
87: ; preds = %102, %82
%88 = load i32, i32* %3
%89 = load i32, i32* %2
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %105
91: ; preds = %87
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%93 = load i32, i32* %3
%94 = load i32, i32* %2
%95 = sub nsw i32 %94, 1
%96 = icmp eq i32 %93, %95
br i1 %96, label %97, label %99
97: ; preds = %91
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
br label %101
99: ; preds = %91
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
br label %101
101: ; preds = %99, %97
br label %102
102: ; preds = %101
%103 = load i32, i32* %3
%104 = add nsw i32 %103, 1
store i32 %104, i32* %3
br label %87
105: ; preds = %87
store i32 0, i32* %3
br label %106
106: ; preds = %114, %105
%107 = load i32, i32* %3
%108 = load i32, i32* %2
%109 = icmp slt i32 %107, %108
br i1 %109, label %110, label %117
110: ; preds = %106
%111 = load i32, i32* %3
%112 = call i8* @getvar(i32 %111)
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* %112)
br label %114
114: ; preds = %110
%115 = load i32, i32* %3
%116 = add nsw i32 %115, 1
store i32 %116, i32* %3
br label %106
117: ; preds = %106
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0))
br label %120
120: ; preds = %117, %10
%121 = load i32, i32* %1
ret i32 %121
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.3 = [5 x i8] c"int \00"
@.str.4 = [5 x i8] c"%s%c\00"
@.str.6 = [6 x i8] c"t%s%c\00"
@.str.8 = [40 x i8] c"\09printf(\22Please enter %d numbers:\\n\22);\0A\00"
@.str.9 = [9 x i8] c"\09scanf(\22\00"
@.str.10 = [4 x i8] c"%%d\00"
@.str.12 = [5 x i8] c",&%s\00"
@.str.14 = [10 x i8] c"\09printf(\22\00"
@.str.15 = [4 x i8] c"\\n\22\00"
@.str.17 = [4 x i8] c",%s\00"
@str = [19 x i8] c"#include <stdio.h>\00"
@str.19 = [17 x i8] c"int main(void)\0A{\00"
@str.21 = [3 x i8] c");\00"
@str.22 = [13 x i8] c"\09return 0;\0A}\00"
@str.23 = [20 x i8] c"//Please enter 1~26\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%4 = load i32, i32* %1
%5 = add i32 %4, -27
%6 = icmp ult i32 %5, -26
br i1 %6, label %98, label %7
7: ; preds = %0
%8 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%10 = load i32, i32* %1
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %23
12: ; preds = %7, %12
%13 = phi i32 [ %20, %12 ], [ 0, %7 ]
%14 = call i8* @getvar(i32 %13)
%15 = load i32, i32* %1
%16 = add nsw i32 %15, -1
%17 = icmp eq i32 %13, %16
%18 = select i1 %17, i32 59, i32 44
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %14, i32 %18)
%20 = add nuw nsw i32 %13, 1
%21 = load i32, i32* %1
%22 = icmp slt i32 %20, %21
br i1 %22, label %12, label %23
23: ; preds = %12, %7
%24 = call i32 @putchar(i32 10)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%26 = load i32, i32* %1
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %39
28: ; preds = %23, %28
%29 = phi i32 [ %36, %28 ], [ 0, %23 ]
%30 = call i8* @getvar(i32 %29)
%31 = load i32, i32* %1
%32 = add nsw i32 %31, -1
%33 = icmp eq i32 %29, %32
%34 = select i1 %33, i32 59, i32 44
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* %30, i32 %34)
%36 = add nuw nsw i32 %29, 1
%37 = load i32, i32* %1
%38 = icmp slt i32 %36, %37
br i1 %38, label %28, label %39
39: ; preds = %28, %23
%40 = call i32 @putchar(i32 10)
%41 = load i32, i32* %1
%42 = call i32 @genmergerec(i32 0, i32 %41)
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.19, i64 0, i64 0))
%44 = load i32, i32* %1
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i32 %44)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%47 = load i32, i32* %1
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %39, %49
%50 = phi i32 [ %52, %49 ], [ 0, %39 ]
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%52 = add nuw nsw i32 %50, 1
%53 = load i32, i32* %1
%54 = icmp slt i32 %52, %53
br i1 %54, label %49, label %55
55: ; preds = %49, %39
%56 = call i32 @putchar(i32 34)
%57 = load i32, i32* %1
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %66
59: ; preds = %55, %59
%60 = phi i32 [ %63, %59 ], [ 0, %55 ]
%61 = call i8* @getvar(i32 %60)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* %61)
%63 = add nuw nsw i32 %60, 1
%64 = load i32, i32* %1
%65 = icmp slt i32 %63, %64
br i1 %65, label %59, label %66
66: ; preds = %59, %55
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
%68 = load i32, i32* %1
%69 = call i32 @gencallrec(i32 0, i32 %68)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%71 = load i32, i32* %1
%72 = icmp sgt i32 %71, 0
br i1 %72, label %75, label %96
73: ; preds = %85
%74 = icmp sgt i32 %87, 0
br i1 %74, label %89, label %96
75: ; preds = %66, %85
%76 = phi i32 [ %86, %85 ], [ 0, %66 ]
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%78 = load i32, i32* %1
%79 = add nsw i32 %78, -1
%80 = icmp eq i32 %76, %79
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
br label %85
83: ; preds = %75
%84 = call i32 @putchar(i32 32)
br label %85
85: ; preds = %81, %83
%86 = add nuw nsw i32 %76, 1
%87 = load i32, i32* %1
%88 = icmp slt i32 %86, %87
br i1 %88, label %75, label %73
89: ; preds = %73, %89
%90 = phi i32 [ %93, %89 ], [ 0, %73 ]
%91 = call i8* @getvar(i32 %90)
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* %91)
%93 = add nuw nsw i32 %90, 1
%94 = load i32, i32* %1
%95 = icmp slt i32 %93, %94
br i1 %95, label %89, label %96
96: ; preds = %89, %66, %73
%97 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.21, i64 0, i64 0))
br label %98
98: ; preds = %0, %96
%99 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.22, i64 0, i64 0), %96 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @str.23, i64 0, i64 0), %0 ]
%100 = call i32 @puts(i8* dereferenceable(1) %99)
ret i32 0
}