#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(int argc, char **argv) {
  int i, j, k, len, n, test;
  int fctrl[158];
  scanf("%d", &test);
  while (test--) {
    scanf("%d", &n);
    for (i = 1; i < 158; ++i) {
      fctrl[i] = 0;
    }
    fctrl[0] = 1;
    for (i = 1, len = 0; i <= n; ++i) {
      for (j = 0; j < 158; ++j) {
        fctrl[j] *= i;
      }
      for (j = 0, k = 0; j < 158; ++j) {
        fctrl[j] += k;
        for (k = 0; fctrl[j] >= 10; ++k) {
          fctrl[j] -= 10;
        }
        if (k > 0 && i == n) {
          len = j + 1;
        }
      }
    }
    for (i = len; i >= 0; --i) {
      printf("%d", fctrl[i]);
    }
    printf("\n");
  }
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2a0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec0(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x28(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x28(%rbp)
cmp    $0x0,%eax
je     12f5 <main+0x1d5>
lea    0xe9c(%rip),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <scanf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0x9e,-0x14(%rbp)
jge    119e <main+0x7e>
movslq -0x14(%rbp),%rax
movl   $0x0,-0x2a0(%rbp,%rax,4)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1174 <main+0x54>
movl   $0x1,-0x2a0(%rbp)
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     12ab <main+0x18b>
movl   $0x0,-0x18(%rbp)
cmpl   $0x9e,-0x18(%rbp)
jge    11fa <main+0xda>
mov    -0x14(%rbp),%ecx
movslq -0x18(%rbp),%rax
imul   -0x2a0(%rbp,%rax,4),%ecx
ff
mov    %ecx,-0x2a0(%rbp,%rax,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11c9 <main+0xa9>
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x9e,-0x18(%rbp)
jge    1298 <main+0x178>
mov    -0x1c(%rbp),%ecx
movslq -0x18(%rbp),%rax
add    -0x2a0(%rbp,%rax,4),%ecx
mov    %ecx,-0x2a0(%rbp,%rax,4)
movl   $0x0,-0x1c(%rbp)
movslq -0x18(%rbp),%rax
cmpl   $0xa,-0x2a0(%rbp,%rax,4)
0a
jl     1266 <main+0x146>
movslq -0x18(%rbp),%rax
mov    -0x2a0(%rbp,%rax,4),%ecx
sub    $0xa,%ecx
mov    %ecx,-0x2a0(%rbp,%rax,4)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1231 <main+0x111>
cmpl   $0x0,-0x1c(%rbp)
jle    1285 <main+0x165>
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jne    1285 <main+0x165>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    128a <main+0x16a>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1208 <main+0xe8>
jmp    129d <main+0x17d>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11b6 <main+0x96>
mov    -0x20(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jl     12e2 <main+0x1c2>
movslq -0x14(%rbp),%rax
mov    -0x2a0(%rbp,%rax,4),%esi
lea    0xd33(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    12b1 <main+0x191>
lea    0xd1a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1149 <main+0x29>
mov    0x2ce4(%rip),%rax
mov    (%rax),%eax
add    $0x2a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x290,%rsp
lea    0xea9(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1060 <scanf@plt>
subl   $0x1,0x8(%rsp)
jae    1182 <main+0x42>
mov    0x2e71(%rip),%rax
mov    (%rax),%eax
add    $0x290,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
lea    0x14(%rsp),%r14
lea    0xe72(%rip),%r12
lea    0xc(%rsp),%r15
mov    $0xcccccccd,%r13d
jmp    11b1 <main+0x71>
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
subl   $0x1,0x8(%rsp)
jb     1168 <main+0x28>
mov    %r12,%rdi
mov    %r15,%rsi
call   1060 <scanf@plt>
mov    $0x274,%edx
mov    %r14,%rdi
xor    %esi,%esi
call   1050 <memset@plt>
movl   $0x1,0x10(%rsp)
mov    0xc(%rsp),%r8d
mov    $0x0,%eax
test   %r8d,%r8d
jle    1968 <main+0x828>
mov    $0x1,%edx
xor    %eax,%eax
jmp    11fe <main+0xbe>
nop
lea    0x1(%rdx),%ecx
cmp    %r8d,%edx
mov    %ecx,%edx
je     1960 <main+0x820>
movd   %edx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqa 0x10(%rsp),%xmm2
movdqa 0x20(%rsp),%xmm3
movdqa 0x30(%rsp),%xmm4
movdqa 0x40(%rsp),%xmm1
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm5
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm5,%xmm2
pshufd $0xf5,%xmm3,%xmm5
pmuludq %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm5
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm5,%xmm3
movdqa %xmm2,0x10(%rsp)
movdqa %xmm3,0x20(%rsp)
pshufd $0xf5,%xmm4,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm4
pshufd $0xe8,%xmm4,%xmm3
punpckldq %xmm2,%xmm3
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm2,%xmm1
movdqa %xmm3,0x30(%rsp)
movdqa %xmm1,0x40(%rsp)
movdqa 0x50(%rsp),%xmm1
movdqa 0x60(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x50(%rsp)
movdqa %xmm2,0x60(%rsp)
movdqa 0x70(%rsp),%xmm1
movdqa 0x80(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x70(%rsp)
movdqa %xmm2,0x80(%rsp)
movdqa 0x90(%rsp),%xmm1
movdqa 0xa0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x90(%rsp)
movdqa %xmm2,0xa0(%rsp)
movdqa 0xb0(%rsp),%xmm1
movdqa 0xc0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0xb0(%rsp)
movdqa %xmm2,0xc0(%rsp)
movdqa 0xd0(%rsp),%xmm1
movdqa 0xe0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0xd0(%rsp)
movdqa %xmm2,0xe0(%rsp)
movdqa 0xf0(%rsp),%xmm1
movdqa 0x100(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0xf0(%rsp)
movdqa %xmm2,0x100(%rsp)
movdqa 0x110(%rsp),%xmm1
movdqa 0x120(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x110(%rsp)
movdqa %xmm2,0x120(%rsp)
movdqa 0x130(%rsp),%xmm1
movdqa 0x140(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x130(%rsp)
movdqa %xmm2,0x140(%rsp)
movdqa 0x150(%rsp),%xmm1
movdqa 0x160(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x150(%rsp)
movdqa %xmm2,0x160(%rsp)
movdqa 0x170(%rsp),%xmm1
movdqa 0x180(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x170(%rsp)
movdqa %xmm2,0x180(%rsp)
movdqa 0x190(%rsp),%xmm1
movdqa 0x1a0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x190(%rsp)
movdqa %xmm2,0x1a0(%rsp)
movdqa 0x1b0(%rsp),%xmm1
movdqa 0x1c0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x1b0(%rsp)
movdqa %xmm2,0x1c0(%rsp)
movdqa 0x1d0(%rsp),%xmm1
movdqa 0x1e0(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x1d0(%rsp)
movdqa %xmm2,0x1e0(%rsp)
movdqa 0x1f0(%rsp),%xmm1
movdqa 0x200(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x1f0(%rsp)
movdqa %xmm2,0x200(%rsp)
movdqa 0x210(%rsp),%xmm1
movdqa 0x220(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x210(%rsp)
movdqa %xmm2,0x220(%rsp)
movdqa 0x230(%rsp),%xmm1
movdqa 0x240(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm1,0x230(%rsp)
movdqa %xmm2,0x240(%rsp)
movdqa 0x250(%rsp),%xmm1
movdqa 0x260(%rsp),%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm0
punpckldq %xmm0,%xmm2
movdqa %xmm1,0x250(%rsp)
movdqa %xmm2,0x260(%rsp)
mov    0x270(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x270(%rsp)
mov    0x274(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x274(%rsp)
mov    0x278(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x278(%rsp)
mov    0x27c(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x27c(%rsp)
mov    0x280(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x280(%rsp)
mov    0x284(%rsp),%esi
imul   %edx,%esi
mov    %esi,0x284(%rsp)
xor    %esi,%esi
xor    %edi,%edi
jmp    1927 <main+0x7e7>
nopw   0x0(%rax,%rax,1)
mov    %edi,0x10(%rsp,%rsi,4)
lea    0x1(%rsi),%rcx
cmp    %r8d,%edx
mov    %eax,%esi
cmove  %ecx,%esi
test   %ebx,%ebx
cmovne %esi,%eax
mov    %rcx,%rsi
mov    %ebx,%edi
cmp    $0x9e,%rcx
je     11f0 <main+0xb0>
add    0x10(%rsp,%rsi,4),%edi
xor    %ebx,%ebx
cmp    $0xa,%edi
jl     1900 <main+0x7c0>
cmp    $0x13,%edi
mov    $0x13,%ecx
cmovl  %edi,%ecx
mov    %edi,%ebx
sub    %ecx,%ebx
add    $0x9,%ebx
imul   %r13,%rbx
shr    $0x23,%rbx
lea    (%rbx,%rbx,1),%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%edi
add    $0xfffffff6,%edi
add    $0x1,%ebx
jmp    1900 <main+0x7c0>
nopl   0x0(%rax)
test   %eax,%eax
js     11a0 <main+0x60>
mov    %eax,%ebx
nopw   0x0(%rax,%rax,1)
mov    0x10(%rsp,%rbx,4),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0xffffffffffffffff,%rbx
jb     1970 <main+0x830>
jmp    11a0 <main+0x60>

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [2 x i8] c"\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [158 x i32]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %11)
br label %14
14: ; preds = %108, %2
%15 = load i32, i32* %11
%16 = add nsw i32 %15, -1
store i32 %16, i32* %11
%17 = icmp ne i32 %15, 0
br i1 %17, label %18, label %110
18: ; preds = %14
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %10)
store i32 1, i32* %6
br label %20
20: ; preds = %27, %18
%21 = load i32, i32* %6
%22 = icmp slt i32 %21, 158
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32, i32* %6
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %25
store i32 0, i32* %26
br label %27
27: ; preds = %23
%28 = load i32, i32* %6
%29 = add nsw i32 %28, 1
store i32 %29, i32* %6
br label %20
30: ; preds = %20
%31 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 0
store i32 1, i32* %31
store i32 1, i32* %6
store i32 0, i32* %9
br label %32
32: ; preds = %91, %30
%33 = load i32, i32* %6
%34 = load i32, i32* %10
%35 = icmp sle i32 %33, %34
br i1 %35, label %36, label %94
36: ; preds = %32
store i32 0, i32* %7
br label %37
37: ; preds = %47, %36
%38 = load i32, i32* %7
%39 = icmp slt i32 %38, 158
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32, i32* %6
%42 = load i32, i32* %7
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = mul nsw i32 %45, %41
store i32 %46, i32* %44
br label %47
47: ; preds = %40
%48 = load i32, i32* %7
%49 = add nsw i32 %48, 1
store i32 %49, i32* %7
br label %37
50: ; preds = %37
store i32 0, i32* %7
store i32 0, i32* %8
br label %51
51: ; preds = %87, %50
%52 = load i32, i32* %7
%53 = icmp slt i32 %52, 158
br i1 %53, label %54, label %90
54: ; preds = %51
%55 = load i32, i32* %8
%56 = load i32, i32* %7
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = add nsw i32 %59, %55
store i32 %60, i32* %58
store i32 0, i32* %8
br label %61
61: ; preds = %73, %54
%62 = load i32, i32* %7
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %63
%65 = load i32, i32* %64
%66 = icmp sge i32 %65, 10
br i1 %66, label %67, label %76
67: ; preds = %61
%68 = load i32, i32* %7
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = sub nsw i32 %71, 10
store i32 %72, i32* %70
br label %73
73: ; preds = %67
%74 = load i32, i32* %8
%75 = add nsw i32 %74, 1
store i32 %75, i32* %8
br label %61
76: ; preds = %61
%77 = load i32, i32* %8
%78 = icmp sgt i32 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = load i32, i32* %6
%81 = load i32, i32* %10
%82 = icmp eq i32 %80, %81
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load i32, i32* %7
%85 = add nsw i32 %84, 1
store i32 %85, i32* %9
br label %86
86: ; preds = %83, %79, %76
br label %87
87: ; preds = %86
%88 = load i32, i32* %7
%89 = add nsw i32 %88, 1
store i32 %89, i32* %7
br label %51
90: ; preds = %51
br label %91
91: ; preds = %90
%92 = load i32, i32* %6
%93 = add nsw i32 %92, 1
store i32 %93, i32* %6
br label %32
94: ; preds = %32
%95 = load i32, i32* %9
store i32 %95, i32* %6
br label %96
96: ; preds = %105, %94
%97 = load i32, i32* %6
%98 = icmp sge i32 %97, 0
br i1 %98, label %99, label %108
99: ; preds = %96
%100 = load i32, i32* %6
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [158 x i32], [158 x i32]* %12, i64 0, i64 %101
%103 = load i32, i32* %102
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %103)
br label %105
105: ; preds = %99
%106 = load i32, i32* %6
%107 = add nsw i32 %106, -1
store i32 %107, i32* %6
br label %96
108: ; preds = %96
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %14
110: ; preds = %14
%111 = load i32, i32* @EXIT_SUCCESS
ret i32 %111
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [158 x i32]
%6 = bitcast i32* %3 to i8*
%7 = bitcast i32* %4 to i8*
%8 = bitcast [158 x i32]* %5 to i8*
%9 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%10 = load i32, i32* %4
%11 = add nsw i32 %10, -1
store i32 %11, i32* %4
%12 = icmp eq i32 %10, 0
br i1 %12, label %284, label %13
13: ; preds = %2
%14 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 0
%15 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 1
%16 = bitcast i32* %15 to i8*
%17 = bitcast [158 x i32]* %5 to <4 x i32>*
%18 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 4
%19 = bitcast i32* %18 to <4 x i32>*
%20 = bitcast [158 x i32]* %5 to <4 x i32>*
%21 = bitcast i32* %18 to <4 x i32>*
%22 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 8
%23 = bitcast i32* %22 to <4 x i32>*
%24 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 12
%25 = bitcast i32* %24 to <4 x i32>*
%26 = bitcast i32* %22 to <4 x i32>*
%27 = bitcast i32* %24 to <4 x i32>*
%28 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 16
%29 = bitcast i32* %28 to <4 x i32>*
%30 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 20
%31 = bitcast i32* %30 to <4 x i32>*
%32 = bitcast i32* %28 to <4 x i32>*
%33 = bitcast i32* %30 to <4 x i32>*
%34 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 24
%35 = bitcast i32* %34 to <4 x i32>*
%36 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 28
%37 = bitcast i32* %36 to <4 x i32>*
%38 = bitcast i32* %34 to <4 x i32>*
%39 = bitcast i32* %36 to <4 x i32>*
%40 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 32
%41 = bitcast i32* %40 to <4 x i32>*
%42 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 36
%43 = bitcast i32* %42 to <4 x i32>*
%44 = bitcast i32* %40 to <4 x i32>*
%45 = bitcast i32* %42 to <4 x i32>*
%46 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 40
%47 = bitcast i32* %46 to <4 x i32>*
%48 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 44
%49 = bitcast i32* %48 to <4 x i32>*
%50 = bitcast i32* %46 to <4 x i32>*
%51 = bitcast i32* %48 to <4 x i32>*
%52 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 48
%53 = bitcast i32* %52 to <4 x i32>*
%54 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 52
%55 = bitcast i32* %54 to <4 x i32>*
%56 = bitcast i32* %52 to <4 x i32>*
%57 = bitcast i32* %54 to <4 x i32>*
%58 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 56
%59 = bitcast i32* %58 to <4 x i32>*
%60 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 60
%61 = bitcast i32* %60 to <4 x i32>*
%62 = bitcast i32* %58 to <4 x i32>*
%63 = bitcast i32* %60 to <4 x i32>*
%64 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 64
%65 = bitcast i32* %64 to <4 x i32>*
%66 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 68
%67 = bitcast i32* %66 to <4 x i32>*
%68 = bitcast i32* %64 to <4 x i32>*
%69 = bitcast i32* %66 to <4 x i32>*
%70 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 72
%71 = bitcast i32* %70 to <4 x i32>*
%72 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 76
%73 = bitcast i32* %72 to <4 x i32>*
%74 = bitcast i32* %70 to <4 x i32>*
%75 = bitcast i32* %72 to <4 x i32>*
%76 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 80
%77 = bitcast i32* %76 to <4 x i32>*
%78 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 84
%79 = bitcast i32* %78 to <4 x i32>*
%80 = bitcast i32* %76 to <4 x i32>*
%81 = bitcast i32* %78 to <4 x i32>*
%82 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 88
%83 = bitcast i32* %82 to <4 x i32>*
%84 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 92
%85 = bitcast i32* %84 to <4 x i32>*
%86 = bitcast i32* %82 to <4 x i32>*
%87 = bitcast i32* %84 to <4 x i32>*
%88 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 96
%89 = bitcast i32* %88 to <4 x i32>*
%90 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 100
%91 = bitcast i32* %90 to <4 x i32>*
%92 = bitcast i32* %88 to <4 x i32>*
%93 = bitcast i32* %90 to <4 x i32>*
%94 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 104
%95 = bitcast i32* %94 to <4 x i32>*
%96 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 108
%97 = bitcast i32* %96 to <4 x i32>*
%98 = bitcast i32* %94 to <4 x i32>*
%99 = bitcast i32* %96 to <4 x i32>*
%100 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 112
%101 = bitcast i32* %100 to <4 x i32>*
%102 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 116
%103 = bitcast i32* %102 to <4 x i32>*
%104 = bitcast i32* %100 to <4 x i32>*
%105 = bitcast i32* %102 to <4 x i32>*
%106 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 120
%107 = bitcast i32* %106 to <4 x i32>*
%108 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 124
%109 = bitcast i32* %108 to <4 x i32>*
%110 = bitcast i32* %106 to <4 x i32>*
%111 = bitcast i32* %108 to <4 x i32>*
%112 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 128
%113 = bitcast i32* %112 to <4 x i32>*
%114 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 132
%115 = bitcast i32* %114 to <4 x i32>*
%116 = bitcast i32* %112 to <4 x i32>*
%117 = bitcast i32* %114 to <4 x i32>*
%118 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 136
%119 = bitcast i32* %118 to <4 x i32>*
%120 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 140
%121 = bitcast i32* %120 to <4 x i32>*
%122 = bitcast i32* %118 to <4 x i32>*
%123 = bitcast i32* %120 to <4 x i32>*
%124 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 144
%125 = bitcast i32* %124 to <4 x i32>*
%126 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 148
%127 = bitcast i32* %126 to <4 x i32>*
%128 = bitcast i32* %124 to <4 x i32>*
%129 = bitcast i32* %126 to <4 x i32>*
%130 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 152
%131 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 153
%132 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 154
%133 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 155
%134 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 156
%135 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 157
br label %136
136: ; preds = %13, %279
%137 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %3)
store i32 1, i32* %14
%138 = load i32, i32* %3
%139 = icmp slt i32 %138, 1
br i1 %139, label %142, label %145
140: ; preds = %269
%141 = icmp sgt i32 %267, -1
br i1 %141, label %142, label %279
142: ; preds = %136, %140
%143 = phi i32 [ %267, %140 ], [ 0, %136 ]
%144 = zext i32 %143 to i64
br label %272
145: ; preds = %136, %269
%146 = phi i32 [ %267, %269 ], [ 0, %136 ]
%147 = phi i32 [ %270, %269 ], [ 1, %136 ]
%148 = insertelement <4 x i32> poison, i32 %147, i64 0
%149 = shufflevector <4 x i32> %148, <4 x i32> poison, <4 x i32> zeroinitializer
%150 = insertelement <4 x i32> poison, i32 %147, i64 0
%151 = shufflevector <4 x i32> %150, <4 x i32> poison, <4 x i32> zeroinitializer
%152 = load <4 x i32>, <4 x i32>* %17
%153 = load <4 x i32>, <4 x i32>* %19
%154 = mul nsw <4 x i32> %152, %149
%155 = mul nsw <4 x i32> %153, %151
store <4 x i32> %154, <4 x i32>* %20
store <4 x i32> %155, <4 x i32>* %21
%156 = load <4 x i32>, <4 x i32>* %23
%157 = load <4 x i32>, <4 x i32>* %25
%158 = mul nsw <4 x i32> %156, %149
%159 = mul nsw <4 x i32> %157, %151
store <4 x i32> %158, <4 x i32>* %26
store <4 x i32> %159, <4 x i32>* %27
%160 = load <4 x i32>, <4 x i32>* %29
%161 = load <4 x i32>, <4 x i32>* %31
%162 = mul nsw <4 x i32> %160, %149
%163 = mul nsw <4 x i32> %161, %151
store <4 x i32> %162, <4 x i32>* %32
store <4 x i32> %163, <4 x i32>* %33
%164 = load <4 x i32>, <4 x i32>* %35
%165 = load <4 x i32>, <4 x i32>* %37
%166 = mul nsw <4 x i32> %164, %149
%167 = mul nsw <4 x i32> %165, %151
store <4 x i32> %166, <4 x i32>* %38
store <4 x i32> %167, <4 x i32>* %39
%168 = load <4 x i32>, <4 x i32>* %41
%169 = load <4 x i32>, <4 x i32>* %43
%170 = mul nsw <4 x i32> %168, %149
%171 = mul nsw <4 x i32> %169, %151
store <4 x i32> %170, <4 x i32>* %44
store <4 x i32> %171, <4 x i32>* %45
%172 = load <4 x i32>, <4 x i32>* %47
%173 = load <4 x i32>, <4 x i32>* %49
%174 = mul nsw <4 x i32> %172, %149
%175 = mul nsw <4 x i32> %173, %151
store <4 x i32> %174, <4 x i32>* %50
store <4 x i32> %175, <4 x i32>* %51
%176 = load <4 x i32>, <4 x i32>* %53
%177 = load <4 x i32>, <4 x i32>* %55
%178 = mul nsw <4 x i32> %176, %149
%179 = mul nsw <4 x i32> %177, %151
store <4 x i32> %178, <4 x i32>* %56
store <4 x i32> %179, <4 x i32>* %57
%180 = load <4 x i32>, <4 x i32>* %59
%181 = load <4 x i32>, <4 x i32>* %61
%182 = mul nsw <4 x i32> %180, %149
%183 = mul nsw <4 x i32> %181, %151
store <4 x i32> %182, <4 x i32>* %62
store <4 x i32> %183, <4 x i32>* %63
%184 = load <4 x i32>, <4 x i32>* %65
%185 = load <4 x i32>, <4 x i32>* %67
%186 = mul nsw <4 x i32> %184, %149
%187 = mul nsw <4 x i32> %185, %151
store <4 x i32> %186, <4 x i32>* %68
store <4 x i32> %187, <4 x i32>* %69
%188 = load <4 x i32>, <4 x i32>* %71
%189 = load <4 x i32>, <4 x i32>* %73
%190 = mul nsw <4 x i32> %188, %149
%191 = mul nsw <4 x i32> %189, %151
store <4 x i32> %190, <4 x i32>* %74
store <4 x i32> %191, <4 x i32>* %75
%192 = load <4 x i32>, <4 x i32>* %77
%193 = load <4 x i32>, <4 x i32>* %79
%194 = mul nsw <4 x i32> %192, %149
%195 = mul nsw <4 x i32> %193, %151
store <4 x i32> %194, <4 x i32>* %80
store <4 x i32> %195, <4 x i32>* %81
%196 = load <4 x i32>, <4 x i32>* %83
%197 = load <4 x i32>, <4 x i32>* %85
%198 = mul nsw <4 x i32> %196, %149
%199 = mul nsw <4 x i32> %197, %151
store <4 x i32> %198, <4 x i32>* %86
store <4 x i32> %199, <4 x i32>* %87
%200 = load <4 x i32>, <4 x i32>* %89
%201 = load <4 x i32>, <4 x i32>* %91
%202 = mul nsw <4 x i32> %200, %149
%203 = mul nsw <4 x i32> %201, %151
store <4 x i32> %202, <4 x i32>* %92
store <4 x i32> %203, <4 x i32>* %93
%204 = load <4 x i32>, <4 x i32>* %95
%205 = load <4 x i32>, <4 x i32>* %97
%206 = mul nsw <4 x i32> %204, %149
%207 = mul nsw <4 x i32> %205, %151
store <4 x i32> %206, <4 x i32>* %98
store <4 x i32> %207, <4 x i32>* %99
%208 = load <4 x i32>, <4 x i32>* %101
%209 = load <4 x i32>, <4 x i32>* %103
%210 = mul nsw <4 x i32> %208, %149
%211 = mul nsw <4 x i32> %209, %151
store <4 x i32> %210, <4 x i32>* %104
store <4 x i32> %211, <4 x i32>* %105
%212 = load <4 x i32>, <4 x i32>* %107
%213 = load <4 x i32>, <4 x i32>* %109
%214 = mul nsw <4 x i32> %212, %149
%215 = mul nsw <4 x i32> %213, %151
store <4 x i32> %214, <4 x i32>* %110
store <4 x i32> %215, <4 x i32>* %111
%216 = load <4 x i32>, <4 x i32>* %113
%217 = load <4 x i32>, <4 x i32>* %115
%218 = mul nsw <4 x i32> %216, %149
%219 = mul nsw <4 x i32> %217, %151
store <4 x i32> %218, <4 x i32>* %116
store <4 x i32> %219, <4 x i32>* %117
%220 = load <4 x i32>, <4 x i32>* %119
%221 = load <4 x i32>, <4 x i32>* %121
%222 = mul nsw <4 x i32> %220, %149
%223 = mul nsw <4 x i32> %221, %151
store <4 x i32> %222, <4 x i32>* %122
store <4 x i32> %223, <4 x i32>* %123
%224 = load <4 x i32>, <4 x i32>* %125
%225 = load <4 x i32>, <4 x i32>* %127
%226 = mul nsw <4 x i32> %224, %149
%227 = mul nsw <4 x i32> %225, %151
store <4 x i32> %226, <4 x i32>* %128
store <4 x i32> %227, <4 x i32>* %129
%228 = load i32, i32* %130
%229 = mul nsw i32 %228, %147
store i32 %229, i32* %130
%230 = load i32, i32* %131
%231 = mul nsw i32 %230, %147
store i32 %231, i32* %131
%232 = load i32, i32* %132
%233 = mul nsw i32 %232, %147
store i32 %233, i32* %132
%234 = load i32, i32* %133
%235 = mul nsw i32 %234, %147
store i32 %235, i32* %133
%236 = load i32, i32* %134
%237 = mul nsw i32 %236, %147
store i32 %237, i32* %134
%238 = load i32, i32* %135
%239 = mul nsw i32 %238, %147
store i32 %239, i32* %135
%240 = icmp eq i32 %147, %138
br label %241
241: ; preds = %145, %260
%242 = phi i64 [ 0, %145 ], [ %265, %260 ]
%243 = phi i32 [ %146, %145 ], [ %267, %260 ]
%244 = phi i32 [ 0, %145 ], [ %262, %260 ]
%245 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 %242
%246 = load i32, i32* %245
%247 = add i32 %246, %244
%248 = icmp sgt i32 %247, 9
br i1 %248, label %249, label %260
249: ; preds = %241
%250 = add nsw i32 %244, -10
%251 = add i32 %250, %246
%252 = add nuw nsw i32 %244, 9
%253 = add i32 %252, %246
%254 = call i32 @llvm.smin.i32(i32 %247, i32 19)
%255 = sub i32 %253, %254
%256 = udiv i32 %255, 10
%257 = mul i32 %256, -10
%258 = add i32 %257, %251
%259 = add nuw nsw i32 %256, 1
br label %260
260: ; preds = %249, %241
%261 = phi i32 [ %258, %249 ], [ %247, %241 ]
%262 = phi i32 [ %259, %249 ], [ 0, %241 ]
store i32 %261, i32* %245
%263 = icmp ne i32 %262, 0
%264 = select i1 %263, i1 %240, i1 false
%265 = add nuw nsw i64 %242, 1
%266 = trunc i64 %265 to i32
%267 = select i1 %264, i32 %266, i32 %243
%268 = icmp eq i64 %265, 158
br i1 %268, label %269, label %241
269: ; preds = %260
%270 = add nuw i32 %147, 1
%271 = icmp eq i32 %147, %138
br i1 %271, label %140, label %145
272: ; preds = %142, %272
%273 = phi i64 [ %144, %142 ], [ %277, %272 ]
%274 = getelementptr inbounds [158 x i32], [158 x i32]* %5, i64 0, i64 %273
%275 = load i32, i32* %274
%276 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %275)
%277 = add nsw i64 %273, -1
%278 = icmp eq i64 %273, 0
br i1 %278, label %279, label %272
279: ; preds = %272, %140
%280 = call i32 @putchar(i32 10)
%281 = load i32, i32* %4
%282 = add nsw i32 %281, -1
store i32 %282, i32* %4
%283 = icmp eq i32 %281, 0
br i1 %283, label %284, label %136
284: ; preds = %279, %2
%285 = load i32, i32* @EXIT_SUCCESS
ret i32 %285
}