#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 */
scalar_t__ EOF;
int /*<<< orphan*/ printf(char *);
scalar_t__ scanf(char *, int *);
int main() {
  int n;
  while (scanf("%d", &n) != EOF) {
    if (n == 1)
      printf("0\n");
    else if (n == 2)
      printf("0 1\n");
    else if (n == 3)
      printf("0 2 3\n");
    else if (n == 4)
      printf("0 3 4 5 6\n");
    else if (n == 5)
      printf("0 4 6 7 8 9 10\n");
    else if (n == 6)
      printf("0 5 8 9 11 12 13 14 15\n");
    else if (n == 7)
      printf("0 6 10 11 12 14 15 16 17 18 19 20 21\n");
    else if (n == 8)
      printf("0 7 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28\n");
    else if (n == 9)
      printf("0 8 14 15 18 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36\n");
    else if (n == 10)
      printf("0 9 16 17 21 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 "
             "41 42 43 44 45\n");
    else if (n == 11)
      printf("0 10 18 19 24 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 "
             "44 45 46 47 48 49 50 51 52 53 54 55\n");
    else if (n == 12)
      printf("0 11 20 21 27 29 30 32 35 36 37 38 39 41 42 43 44 45 46 47 48 49 "
             "50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66\n");
    else if (n == 13)
      printf("0 12 22 23 30 32 33 36 39 40 41 42 44 46 47 48 49 50 51 52 53 54 "
             "55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 "
             "76 77 78\n");
    else if (n == 14)
      printf("0 13 24 25 33 35 36 40 43 44 45 46 48 49 51 52 53 54 55 56 57 59 "
             "60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 "
             "81 82 83 84 85 86 87 88 89 90 91\n");
    else if (n == 15)
      printf("0 14 26 27 36 38 39 44 47 48 49 50 54 56 57 58 59 60 62 63 65 66 "
             "67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 "
             "88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105\n");
    else if (n == 16)
      printf("0 15 28 29 30 39 41 42 43 44 48 51 52 53 54 55 56 57 59 60 61 62 "
             "63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 "
             "84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 "
             "104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 "
             "120 121 122 123 124 125 126 127 128 129 130 131\n");
    else if (n == 17)
      printf("0 16 30 31 32 42 44 45 46 47 52 55 56 57 58 59 60 61 64 66 67 68 "
             "69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 "
             "90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 "
             "108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 "
             "124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 "
             "140 141 142 143 144 145 146 147 148 149\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
mov    0x2ea2(%rip),%rcx
cmp    (%rcx),%rax
je     136a <main+0x24a>
cmpl   $0x1,-0x8(%rbp)
jne    116a <main+0x4a>
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x245>
cmpl   $0x2,-0x8(%rbp)
jne    1185 <main+0x65>
lea    0xe88(%rip),%rdi
call   1030 <printf@plt>
jmp    1360 <main+0x240>
cmpl   $0x3,-0x8(%rbp)
jne    11a0 <main+0x80>
lea    0xe72(%rip),%rdi
call   1030 <printf@plt>
jmp    135b <main+0x23b>
cmpl   $0x4,-0x8(%rbp)
jne    11bb <main+0x9b>
lea    0xe5e(%rip),%rdi
call   1030 <printf@plt>
jmp    1356 <main+0x236>
cmpl   $0x5,-0x8(%rbp)
jne    11d6 <main+0xb6>
lea    0xe4e(%rip),%rdi
call   1030 <printf@plt>
jmp    1351 <main+0x231>
cmpl   $0x6,-0x8(%rbp)
jne    11f1 <main+0xd1>
lea    0xe43(%rip),%rdi
call   1030 <printf@plt>
jmp    134c <main+0x22c>
cmpl   $0x7,-0x8(%rbp)
jne    120c <main+0xec>
lea    0xe40(%rip),%rdi
call   1030 <printf@plt>
jmp    1347 <main+0x227>
cmpl   $0x8,-0x8(%rbp)
jne    1227 <main+0x107>
lea    0xe4b(%rip),%rdi
call   1030 <printf@plt>
jmp    1342 <main+0x222>
cmpl   $0x9,-0x8(%rbp)
jne    1242 <main+0x122>
lea    0xe65(%rip),%rdi
call   1030 <printf@plt>
jmp    133d <main+0x21d>
cmpl   $0xa,-0x8(%rbp)
jne    125d <main+0x13d>
lea    0xe88(%rip),%rdi
call   1030 <printf@plt>
jmp    1338 <main+0x218>
cmpl   $0xb,-0x8(%rbp)
jne    1278 <main+0x158>
lea    0xebd(%rip),%rdi
call   1030 <printf@plt>
jmp    1333 <main+0x213>
cmpl   $0xc,-0x8(%rbp)
jne    1293 <main+0x173>
lea    0xf08(%rip),%rdi
call   1030 <printf@plt>
jmp    132e <main+0x20e>
cmpl   $0xd,-0x8(%rbp)
jne    12ae <main+0x18e>
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
jmp    1329 <main+0x209>
cmpl   $0xe,-0x8(%rbp)
jne    12c9 <main+0x1a9>
lea    0xfd1(%rip),%rdi
call   1030 <printf@plt>
jmp    1324 <main+0x204>
cmpl   $0xf,-0x8(%rbp)
jne    12e4 <main+0x1c4>
lea    0x1058(%rip),%rdi
call   1030 <printf@plt>
jmp    131f <main+0x1ff>
cmpl   $0x10,-0x8(%rbp)
jne    12ff <main+0x1df>
lea    0x10fa(%rip),%rdi
call   1030 <printf@plt>
jmp    131a <main+0x1fa>
cmpl   $0x11,-0x8(%rbp)
jne    1315 <main+0x1f5>
lea    0x1210(%rip),%rdi
call   1030 <printf@plt>
jmp    131a <main+0x1fa>
jmp    131f <main+0x1ff>
jmp    1324 <main+0x204>
jmp    1329 <main+0x209>
jmp    132e <main+0x20e>
jmp    1333 <main+0x213>
jmp    1338 <main+0x218>
jmp    133d <main+0x21d>
jmp    1342 <main+0x222>
jmp    1347 <main+0x227>
jmp    134c <main+0x22c>
jmp    1351 <main+0x231>
jmp    1356 <main+0x236>
jmp    135b <main+0x23b>
jmp    1360 <main+0x240>
jmp    1365 <main+0x245>
jmp    112f <main+0xf>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xed1(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
mov    0x2ea8(%rip),%r15
cmp    (%r15),%rax
jne    1153 <main+0x33>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
lea    0x151e(%rip),%r12
lea    0xe9f(%rip),%r14
lea    0x4(%rsp),%rbx
jmp    1180 <main+0x60>
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <scanf@plt>
cmp    (%r15),%rax
je     1145 <main+0x25>
mov    0x4(%rsp),%eax
add    $0xffffffff,%eax
cmp    $0x10,%eax
ja     1170 <main+0x50>
cltq
movslq (%r12,%rax,4),%rdi
add    %r12,%rdi
call   1030 <puts@plt>
jmp    1170 <main+0x50>

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@EOF = global i64 0
@.str.1 = [3 x i8] c"0\0A\00"
@.str.2 = [5 x i8] c"0 1\0A\00"
@.str.3 = [7 x i8] c"0 2 3\0A\00"
@.str.4 = [11 x i8] c"0 3 4 5 6\0A\00"
@.str.5 = [16 x i8] c"0 4 6 7 8 9 10\0A\00"
@.str.6 = [24 x i8] c"0 5 8 9 11 12 13 14 15\0A\00"
@.str.7 = [38 x i8] c"0 6 10 11 12 14 15 16 17 18 19 20 21\0A\00"
@.str.8 = [53 x i8] c"0 7 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28\0A\00"
@.str.9 = [62 x i8] c"0 8 14 15 18 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36\0A\00"
@.str.10 = [80 x i8] c"0 9 16 17 21 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45\0A\00"
@.str.11 = [102 x i8] c"0 10 18 19 24 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55\0A\00"
@.str.12 = [117 x i8] c"0 11 20 21 27 29 30 32 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66\0A\00"
@.str.13 = [138 x i8] c"0 12 22 23 30 32 33 36 39 40 41 42 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78\0A\00"
@.str.14 = [162 x i8] c"0 13 24 25 33 35 36 40 43 44 45 46 48 49 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91\0A\00"
@.str.15 = [189 x i8] c"0 14 26 27 36 38 39 44 47 48 49 50 54 56 57 58 59 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105\0A\00"
@.str.16 = [305 x i8] c"0 15 28 29 30 39 41 42 43 44 48 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131\0A\00"
@.str.17 = [359 x i8] c"0 16 30 31 32 42 44 45 46 47 52 55 56 57 58 59 60 61 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
br label %3
3: ; preds = %108, %0
%4 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%5 = load i64, i64* @EOF
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %109
7: ; preds = %3
%8 = load i32, i32* %2
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %108
12: ; preds = %7
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %107
17: ; preds = %12
%18 = load i32, i32* %2
%19 = icmp eq i32 %18, 3
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %106
22: ; preds = %17
%23 = load i32, i32* %2
%24 = icmp eq i32 %23, 4
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
br label %105
27: ; preds = %22
%28 = load i32, i32* %2
%29 = icmp eq i32 %28, 5
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
br label %104
32: ; preds = %27
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, 6
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
br label %103
37: ; preds = %32
%38 = load i32, i32* %2
%39 = icmp eq i32 %38, 7
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
br label %102
42: ; preds = %37
%43 = load i32, i32* %2
%44 = icmp eq i32 %43, 8
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0))
br label %101
47: ; preds = %42
%48 = load i32, i32* %2
%49 = icmp eq i32 %48, 9
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
br label %100
52: ; preds = %47
%53 = load i32, i32* %2
%54 = icmp eq i32 %53, 10
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.10, i64 0, i64 0))
br label %99
57: ; preds = %52
%58 = load i32, i32* %2
%59 = icmp eq i32 %58, 11
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.11, i64 0, i64 0))
br label %98
62: ; preds = %57
%63 = load i32, i32* %2
%64 = icmp eq i32 %63, 12
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 @printf(i8* getelementptr inbounds ([117 x i8], [117 x i8]* @.str.12, i64 0, i64 0))
br label %97
67: ; preds = %62
%68 = load i32, i32* %2
%69 = icmp eq i32 %68, 13
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = call i32 @printf(i8* getelementptr inbounds ([138 x i8], [138 x i8]* @.str.13, i64 0, i64 0))
br label %96
72: ; preds = %67
%73 = load i32, i32* %2
%74 = icmp eq i32 %73, 14
br i1 %74, label %75, label %77
75: ; preds = %72
%76 = call i32 @printf(i8* getelementptr inbounds ([162 x i8], [162 x i8]* @.str.14, i64 0, i64 0))
br label %95
77: ; preds = %72
%78 = load i32, i32* %2
%79 = icmp eq i32 %78, 15
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @printf(i8* getelementptr inbounds ([189 x i8], [189 x i8]* @.str.15, i64 0, i64 0))
br label %94
82: ; preds = %77
%83 = load i32, i32* %2
%84 = icmp eq i32 %83, 16
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = call i32 @printf(i8* getelementptr inbounds ([305 x i8], [305 x i8]* @.str.16, i64 0, i64 0))
br label %93
87: ; preds = %82
%88 = load i32, i32* %2
%89 = icmp eq i32 %88, 17
br i1 %89, label %90, label %92
90: ; preds = %87
%91 = call i32 @printf(i8* getelementptr inbounds ([359 x i8], [359 x i8]* @.str.17, i64 0, i64 0))
br label %92
92: ; preds = %90, %87
br label %93
93: ; preds = %92, %85
br label %94
94: ; preds = %93, %80
br label %95
95: ; preds = %94, %75
br label %96
96: ; preds = %95, %70
br label %97
97: ; preds = %96, %65
br label %98
98: ; preds = %97, %60
br label %99
99: ; preds = %98, %55
br label %100
100: ; preds = %99, %50
br label %101
101: ; preds = %100, %45
br label %102
102: ; preds = %101, %40
br label %103
103: ; preds = %102, %35
br label %104
104: ; preds = %103, %30
br label %105
105: ; preds = %104, %25
br label %106
106: ; preds = %105, %20
br label %107
107: ; preds = %106, %15
br label %108
108: ; preds = %107, %10
br label %3
109: ; preds = %3
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@EOF = global i64 0
@str = [358 x i8] c"0 16 30 31 32 42 44 45 46 47 52 55 56 57 58 59 60 61 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149\00"
@str.18 = [304 x i8] c"0 15 28 29 30 39 41 42 43 44 48 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131\00"
@str.19 = [188 x i8] c"0 14 26 27 36 38 39 44 47 48 49 50 54 56 57 58 59 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105\00"
@str.20 = [161 x i8] c"0 13 24 25 33 35 36 40 43 44 45 46 48 49 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91\00"
@str.21 = [137 x i8] c"0 12 22 23 30 32 33 36 39 40 41 42 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78\00"
@str.22 = [116 x i8] c"0 11 20 21 27 29 30 32 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66\00"
@str.23 = [101 x i8] c"0 10 18 19 24 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55\00"
@str.24 = [79 x i8] c"0 9 16 17 21 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45\00"
@str.25 = [61 x i8] c"0 8 14 15 18 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36\00"
@str.26 = [52 x i8] c"0 7 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28\00"
@str.27 = [37 x i8] c"0 6 10 11 12 14 15 16 17 18 19 20 21\00"
@str.28 = [23 x i8] c"0 5 8 9 11 12 13 14 15\00"
@str.29 = [15 x i8] c"0 4 6 7 8 9 10\00"
@str.30 = [10 x i8] c"0 3 4 5 6\00"
@str.31 = [6 x i8] c"0 2 3\00"
@str.32 = [4 x i8] c"0 1\00"
@str.33 = [2 x i8] c"0\00"
@reltable.main = [17 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @str.33 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.32 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.31 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.30 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.29 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @str.28 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([37 x i8]* @str.27 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([52 x i8]* @str.26 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([61 x i8]* @str.25 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([79 x i8]* @str.24 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([101 x i8]* @str.23 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([116 x i8]* @str.22 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([137 x i8]* @str.21 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([161 x i8]* @str.20 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([188 x i8]* @str.19 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([304 x i8]* @str.18 to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([358 x i8]* @str to i64), i64 ptrtoint ([17 x i32]* @reltable.main to i64)) to i32)]
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%4 = load i64, i64* @EOF
%5 = icmp eq i64 %3, %4
br i1 %5, label %19, label %6
6: ; preds = %0, %15
%7 = load i32, i32* %1
%8 = add i32 %7, -1
%9 = icmp ult i32 %8, 17
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = sext i32 %8 to i64
%12 = shl i64 %11, 2
%13 = call i8* @llvm.load.relative.i64(i8* bitcast ([17 x i32]* @reltable.main to i8*), i64 %12)
%14 = call i32 @puts(i8* dereferenceable(1) %13)
br label %15
15: ; preds = %6, %10
%16 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%17 = load i64, i64* @EOF
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %6
19: ; preds = %15, %0
ret i32 0
}