#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*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, long long);
scalar_t__ scanf(char *, int *);
int main() {
  int n, m, i, j, k, pre[60], cur[60], num[30];
  long long int S;
  while (scanf("%d", &n) != EOF) {
    for (m = 1; m <= n; m++) {
      for (i = 1; i <= 26; i++)
        scanf("%d", &num[i]);
      memset(pre, 0, sizeof(int) * 60);
      memset(cur, 0, sizeof(int) * 60);
      for (i = 0; i <= num[1]; i++)
        pre[i] = 1;
      for (i = 2; i <= 26; i++) {
        if (num[i] == 0)
          continue;
        for (j = 0; j <= 50; j++) {
          for (k = 0; k <= num[i] * i && k + j <= 50; k = k + i) {
            cur[k + j] += pre[j];
          }
        }
        for (j = 0; j <= 50; j++) {
          pre[j] = cur[j];
          cur[j] = 0;
        }
      }
      S = 0;
      for (i = 1; i <= 50; i++)
        S += pre[i];
      printf("%lld\n", S);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x290,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeb7(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
mov    0x2e8f(%rip),%rcx
cmp    (%rcx),%rax
je     1395 <main+0x265>
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jg     1390 <main+0x260>
movl   $0x1,-0x10(%rbp)
cmpl   $0x1a,-0x10(%rbp)
jg     11b2 <main+0x82>
movslq -0x10(%rbp),%rax
lea    -0x280(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe61(%rip),%rdi
call   1050 <scanf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    117c <main+0x4c>
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0xf0,%edx
call   1040 <memset@plt>
lea    -0x200(%rbp),%rdi
xor    %esi,%esi
mov    $0xf0,%edx
call   1040 <memset@plt>
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x27c(%rbp),%eax
jg     120b <main+0xdb>
movslq -0x10(%rbp),%rax
movl   $0x1,-0x110(%rbp,%rax,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11df <main+0xaf>
movl   $0x2,-0x10(%rbp)
cmpl   $0x1a,-0x10(%rbp)
jg     132b <main+0x1fb>
movslq -0x10(%rbp),%rax
cmpl   $0x0,-0x280(%rbp,%rax,4)
jne    1233 <main+0x103>
jmp    131d <main+0x1ed>
movl   $0x0,-0x14(%rbp)
cmpl   $0x32,-0x14(%rbp)
jg     12d4 <main+0x1a4>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%ecx
movslq -0x10(%rbp),%rax
mov    -0x280(%rbp,%rax,4),%edx
imul   -0x10(%rbp),%edx
xor    %eax,%eax
cmp    %edx,%ecx
mov    %al,-0x289(%rbp)
jg     127f <main+0x14f>
mov    -0x18(%rbp),%eax
add    -0x14(%rbp),%eax
cmp    $0x32,%eax
setle  %al
mov    %al,-0x289(%rbp)
mov    -0x289(%rbp),%al
test   $0x1,%al
jne    1292 <main+0x162>
jmp    12c1 <main+0x191>
movslq -0x14(%rbp),%rax
mov    -0x110(%rbp,%rax,4),%ecx
mov    -0x18(%rbp),%eax
add    -0x14(%rbp),%eax
cltq
add    -0x200(%rbp,%rax,4),%ecx
mov    %ecx,-0x200(%rbp,%rax,4)
mov    -0x18(%rbp),%eax
add    -0x10(%rbp),%eax
mov    %eax,-0x18(%rbp)
jmp    124b <main+0x11b>
jmp    12c6 <main+0x196>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    123a <main+0x10a>
movl   $0x0,-0x14(%rbp)
cmpl   $0x32,-0x14(%rbp)
jg     1318 <main+0x1e8>
movslq -0x14(%rbp),%rax
mov    -0x200(%rbp,%rax,4),%ecx
movslq -0x14(%rbp),%rax
mov    %ecx,-0x110(%rbp,%rax,4)
movslq -0x14(%rbp),%rax
movl   $0x0,-0x200(%rbp,%rax,4)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12db <main+0x1ab>
jmp    131d <main+0x1ed>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1212 <main+0xe2>
movq   $0x0,-0x288(%rbp)
movl   $0x1,-0x10(%rbp)
cmpl   $0x32,-0x10(%rbp)
jg     136f <main+0x23f>
movslq -0x10(%rbp),%rax
movslq -0x110(%rbp,%rax,4),%rax
ff
add    -0x288(%rbp),%rax
mov    %rax,-0x288(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    133d <main+0x20d>
mov    -0x288(%rbp),%rsi
lea    0xc86(%rip),%rdi
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1169 <main+0x39>
jmp    1142 <main+0x12>
xor    %eax,%eax
add    $0x290,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x278,%rsp
lea    0xec8(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x2e8f(%rip),%rcx
cmp    (%rcx),%rax
jne    1172 <main+0x42>
xor    %eax,%eax
add    $0x278,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xe97(%rip),%r12
lea    0x180(%rsp),%r13
jmp    11a9 <main+0x79>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x2e44(%rip),%rcx
cmp    (%rcx),%rax
je     115e <main+0x2e>
cmpl   $0x0,0xc(%rsp)
jle    1190 <main+0x60>
mov    $0x1,%r14d
jmp    142f <main+0x2ff>
nopl   0x0(%rax,%rax,1)
movq   0x14(%rsp),%xmm0
pxor   %xmm1,%xmm1
pcmpgtd %xmm0,%xmm1
punpckldq %xmm1,%xmm0
movq   0x1c(%rsp),%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm1,%xmm2
punpckldq %xmm2,%xmm1
paddq  %xmm0,%xmm1
movq   0x24(%rsp),%xmm0
pxor   %xmm2,%xmm2
pcmpgtd %xmm0,%xmm2
punpckldq %xmm2,%xmm0
movq   0x2c(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm0,%xmm2
paddq  %xmm1,%xmm2
movq   0x34(%rsp),%xmm0
pxor   %xmm1,%xmm1
pcmpgtd %xmm0,%xmm1
punpckldq %xmm1,%xmm0
movq   0x3c(%rsp),%xmm1
pxor   %xmm3,%xmm3
pcmpgtd %xmm1,%xmm3
punpckldq %xmm3,%xmm1
paddq  %xmm0,%xmm1
movq   0x44(%rsp),%xmm0
pxor   %xmm3,%xmm3
pcmpgtd %xmm0,%xmm3
punpckldq %xmm3,%xmm0
paddq  %xmm1,%xmm0
paddq  %xmm2,%xmm0
movq   0x4c(%rsp),%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm1,%xmm2
punpckldq %xmm2,%xmm1
movq   0x54(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm1,%xmm2
movq   0x5c(%rsp),%xmm3
pxor   %xmm1,%xmm1
pcmpgtd %xmm3,%xmm1
punpckldq %xmm1,%xmm3
paddq  %xmm2,%xmm3
movq   0x64(%rsp),%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm1,%xmm2
punpckldq %xmm2,%xmm1
paddq  %xmm3,%xmm1
paddq  %xmm0,%xmm1
movq   0x6c(%rsp),%xmm0
pxor   %xmm2,%xmm2
pcmpgtd %xmm0,%xmm2
punpckldq %xmm2,%xmm0
movq   0x74(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm0,%xmm2
movq   0x7c(%rsp),%xmm0
pxor   %xmm3,%xmm3
pcmpgtd %xmm0,%xmm3
punpckldq %xmm3,%xmm0
paddq  %xmm2,%xmm0
movq   0x84(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm0,%xmm2
movq   0x8c(%rsp),%xmm0
pxor   %xmm3,%xmm3
pcmpgtd %xmm0,%xmm3
punpckldq %xmm3,%xmm0
paddq  %xmm2,%xmm0
paddq  %xmm1,%xmm0
movq   0x94(%rsp),%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm1,%xmm2
punpckldq %xmm2,%xmm1
movq   0x9c(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm1,%xmm2
movq   0xa4(%rsp),%xmm1
pxor   %xmm3,%xmm3
pcmpgtd %xmm1,%xmm3
punpckldq %xmm3,%xmm1
paddq  %xmm2,%xmm1
movq   0xac(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm1,%xmm2
movq   0xb4(%rsp),%xmm1
pxor   %xmm3,%xmm3
pcmpgtd %xmm1,%xmm3
punpckldq %xmm3,%xmm1
paddq  %xmm2,%xmm1
movq   0xbc(%rsp),%xmm2
pxor   %xmm3,%xmm3
pcmpgtd %xmm2,%xmm3
punpckldq %xmm3,%xmm2
paddq  %xmm1,%xmm2
paddq  %xmm0,%xmm2
movq   0xc4(%rsp),%xmm0
pxor   %xmm1,%xmm1
pcmpgtd %xmm0,%xmm1
punpckldq %xmm1,%xmm0
movq   0xcc(%rsp),%xmm1
pxor   %xmm3,%xmm3
pcmpgtd %xmm1,%xmm3
punpckldq %xmm3,%xmm1
paddq  %xmm0,%xmm1
movq   0xd4(%rsp),%xmm0
pxor   %xmm3,%xmm3
pcmpgtd %xmm0,%xmm3
punpckldq %xmm3,%xmm0
paddq  %xmm1,%xmm0
paddq  %xmm2,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddq  %xmm0,%xmm1
movq   %xmm1,%rsi
lea    0xbfb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1(%r14),%eax
cmp    0xc(%rsp),%r14d
mov    %eax,%r14d
jge    1190 <main+0x60>
mov    %r12,%rdi
lea    0x104(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x108(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x10c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x110(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x114(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x118(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x11c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x120(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x124(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x128(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x12c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x130(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x134(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x138(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x13c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x140(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x144(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x148(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x14c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x150(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x154(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x158(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x15c(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x160(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x164(%rsp),%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
lea    0x168(%rsp),%rsi
call   1050 <scanf@plt>
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0xf0,%edx
call   1040 <memset@plt>
mov    %r13,%rdi
xor    %esi,%esi
mov    $0xf0,%edx
call   1040 <memset@plt>
mov    0x104(%rsp),%eax
test   %eax,%eax
xorps  %xmm4,%xmm4
movdqa 0x9fd(%rip),%xmm0
js     1721 <main+0x5f1>
mov    %eax,%ecx
add    $0x1,%rax
cmp    $0x7,%ecx
jae    1620 <main+0x4f0>
xor    %ecx,%ecx
jmp    1710 <main+0x5e0>
nopl   0x0(%rax,%rax,1)
mov    %eax,%ecx
and    $0xfffffff8,%ecx
lea    -0x8(%rcx),%rdi
mov    %rdi,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
mov    %esi,%edx
and    $0x7,%edx
cmp    $0x38,%rdi
jae    1646 <main+0x516>
xor    %edi,%edi
jmp    16d9 <main+0x5a9>
and    $0xfffffffffffffff8,%rsi
xor    %edi,%edi
nopl   0x0(%rax)
movdqa %xmm0,0x10(%rsp,%rdi,4)
movdqa %xmm0,0x20(%rsp,%rdi,4)
movdqa %xmm0,0x30(%rsp,%rdi,4)
movdqa %xmm0,0x40(%rsp,%rdi,4)
movdqa %xmm0,0x50(%rsp,%rdi,4)
movdqa %xmm0,0x60(%rsp,%rdi,4)
movdqa %xmm0,0x70(%rsp,%rdi,4)
movdqa %xmm0,0x80(%rsp,%rdi,4)
movdqa %xmm0,0x90(%rsp,%rdi,4)
movdqa %xmm0,0xa0(%rsp,%rdi,4)
movdqa %xmm0,0xb0(%rsp,%rdi,4)
movdqa %xmm0,0xc0(%rsp,%rdi,4)
movdqa %xmm0,0xd0(%rsp,%rdi,4)
movdqa %xmm0,0xe0(%rsp,%rdi,4)
movdqa %xmm0,0xf0(%rsp,%rdi,4)
movdqa %xmm0,0x100(%rsp,%rdi,4)
add    $0x40,%rdi
add    $0xfffffffffffffff8,%rsi
jne    1650 <main+0x520>
test   %rdx,%rdx
je     1704 <main+0x5d4>
lea    0x20(%rsp),%rsi
lea    (%rsi,%rdi,4),%rsi
shl    $0x5,%rdx
xor    %edi,%edi
nopl   (%rax)
movdqa %xmm0,-0x10(%rsi,%rdi,1)
movdqa %xmm0,(%rsi,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%rdx
jne    16f0 <main+0x5c0>
cmp    %rax,%rcx
je     1721 <main+0x5f1>
nopl   0x0(%rax)
movl   $0x1,0x10(%rsp,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1710 <main+0x5e0>
mov    $0x2,%ebp
mov    $0x8,%ecx
jmp    18a0 <main+0x770>
movaps 0x180(%rsp),%xmm0
movdqa 0x190(%rsp),%xmm1
movdqa 0x1a0(%rsp),%xmm2
movdqa 0x1b0(%rsp),%xmm3
movaps %xmm0,0x10(%rsp)
movaps %xmm4,0x180(%rsp)
movdqa %xmm1,0x20(%rsp)
movaps %xmm4,0x190(%rsp)
movdqa %xmm2,0x30(%rsp)
movaps %xmm4,0x1a0(%rsp)
movdqa %xmm3,0x40(%rsp)
movaps %xmm4,0x1b0(%rsp)
movaps 0x1c0(%rsp),%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm4,0x1c0(%rsp)
movaps 0x1d0(%rsp),%xmm0
movaps %xmm0,0x60(%rsp)
movaps %xmm4,0x1d0(%rsp)
movaps 0x1e0(%rsp),%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm4,0x1e0(%rsp)
movaps 0x1f0(%rsp),%xmm0
movaps %xmm0,0x80(%rsp)
movaps %xmm4,0x1f0(%rsp)
movaps 0x200(%rsp),%xmm0
movaps %xmm0,0x90(%rsp)
movaps %xmm4,0x200(%rsp)
movaps 0x210(%rsp),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps %xmm4,0x210(%rsp)
movaps 0x220(%rsp),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps %xmm4,0x220(%rsp)
movdqa 0x230(%rsp),%xmm0
movdqa %xmm0,0xc0(%rsp)
movaps %xmm4,0x230(%rsp)
mov    0x240(%rsp),%eax
mov    %eax,0xd0(%rsp)
movl   $0x0,0x240(%rsp)
mov    0x244(%rsp),%eax
mov    %eax,0xd4(%rsp)
movl   $0x0,0x244(%rsp)
mov    0x248(%rsp),%eax
mov    %eax,0xd8(%rsp)
movl   $0x0,0x248(%rsp)
add    $0x1,%rbp
add    $0x4,%rcx
cmp    $0x1b,%rbp
je     11c0 <main+0x90>
mov    0x100(%rsp,%rbp,4),%r8d
test   %r8d,%r8d
je     188e <main+0x75e>
imul   %ebp,%r8d
movslq %r8d,%rsi
mov    %r13,%r9
mov    %rbp,%r10
xor    %r11d,%r11d
jmp    18d6 <main+0x7a6>
nop
add    $0x1,%r11
add    $0x1,%r10
add    $0x4,%r9
cmp    $0x33,%r11
je     1730 <main+0x600>
test   %r8d,%r8d
js     18c0 <main+0x790>
mov    0x10(%rsp,%r11,4),%edx
mov    %r9,%rdi
mov    %r10,%rbx
mov    %rbp,%rax
nopl   0x0(%rax)
add    %edx,(%rdi)
cmp    %rsi,%rax
jg     18c0 <main+0x790>
add    %rbp,%rax
lea    (%rbx,%rbp,1),%r15
add    %rcx,%rdi
cmp    $0x33,%rbx
mov    %r15,%rbx
jb     18f0 <main+0x7c0>
jmp    18c0 <main+0x790>

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@EOF = global i64 0
@.str.1 = [6 x i8] c"%lld\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [60 x i32]
%3 = alloca [60 x i32]
%4 = alloca [30 x i32]
%5 = bitcast i32* %1 to i8*
%6 = bitcast [60 x i32]* %2 to i8*
%7 = bitcast [60 x i32]* %3 to i8*
%8 = bitcast [30 x i32]* %4 to i8*
%9 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%10 = load i64, i64* @EOF
%11 = icmp eq i64 %9, %10
br i1 %11, label %404, label %12
12: ; preds = %0
%13 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 0
%14 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 0
%15 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 1
%16 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 2
%17 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 3
%18 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 4
%19 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 5
%20 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 6
%21 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 7
%22 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 8
%23 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 9
%24 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 10
%25 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 11
%26 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 12
%27 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 13
%28 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 14
%29 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 15
%30 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 16
%31 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 17
%32 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 18
%33 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 19
%34 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 20
%35 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 21
%36 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 22
%37 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 23
%38 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 24
%39 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 25
%40 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 26
%41 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 1
%42 = bitcast i32* %41 to <2 x i32>*
%43 = bitcast [60 x i32]* %3 to <4 x i32>*
%44 = bitcast [60 x i32]* %2 to <4 x i32>*
%45 = bitcast [60 x i32]* %3 to <4 x i32>*
%46 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 4
%47 = bitcast i32* %46 to <4 x i32>*
%48 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 4
%49 = bitcast i32* %48 to <4 x i32>*
%50 = bitcast i32* %46 to <4 x i32>*
%51 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 8
%52 = bitcast i32* %51 to <4 x i32>*
%53 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 8
%54 = bitcast i32* %53 to <4 x i32>*
%55 = bitcast i32* %51 to <4 x i32>*
%56 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 12
%57 = bitcast i32* %56 to <4 x i32>*
%58 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 12
%59 = bitcast i32* %58 to <4 x i32>*
%60 = bitcast i32* %56 to <4 x i32>*
%61 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 16
%62 = bitcast i32* %61 to <4 x i32>*
%63 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 16
%64 = bitcast i32* %63 to <4 x i32>*
%65 = bitcast i32* %61 to <4 x i32>*
%66 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 20
%67 = bitcast i32* %66 to <4 x i32>*
%68 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 20
%69 = bitcast i32* %68 to <4 x i32>*
%70 = bitcast i32* %66 to <4 x i32>*
%71 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 24
%72 = bitcast i32* %71 to <4 x i32>*
%73 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 24
%74 = bitcast i32* %73 to <4 x i32>*
%75 = bitcast i32* %71 to <4 x i32>*
%76 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 28
%77 = bitcast i32* %76 to <4 x i32>*
%78 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 28
%79 = bitcast i32* %78 to <4 x i32>*
%80 = bitcast i32* %76 to <4 x i32>*
%81 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 32
%82 = bitcast i32* %81 to <4 x i32>*
%83 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 32
%84 = bitcast i32* %83 to <4 x i32>*
%85 = bitcast i32* %81 to <4 x i32>*
%86 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 36
%87 = bitcast i32* %86 to <4 x i32>*
%88 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 36
%89 = bitcast i32* %88 to <4 x i32>*
%90 = bitcast i32* %86 to <4 x i32>*
%91 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 40
%92 = bitcast i32* %91 to <4 x i32>*
%93 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 40
%94 = bitcast i32* %93 to <4 x i32>*
%95 = bitcast i32* %91 to <4 x i32>*
%96 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 44
%97 = bitcast i32* %96 to <4 x i32>*
%98 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 44
%99 = bitcast i32* %98 to <4 x i32>*
%100 = bitcast i32* %96 to <4 x i32>*
%101 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 48
%102 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 48
%103 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 49
%104 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 49
%105 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 50
%106 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 50
%107 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 3
%108 = bitcast i32* %107 to <2 x i32>*
%109 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 5
%110 = bitcast i32* %109 to <2 x i32>*
%111 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 7
%112 = bitcast i32* %111 to <2 x i32>*
%113 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 9
%114 = bitcast i32* %113 to <2 x i32>*
%115 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 11
%116 = bitcast i32* %115 to <2 x i32>*
%117 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 13
%118 = bitcast i32* %117 to <2 x i32>*
%119 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 15
%120 = bitcast i32* %119 to <2 x i32>*
%121 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 17
%122 = bitcast i32* %121 to <2 x i32>*
%123 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 19
%124 = bitcast i32* %123 to <2 x i32>*
%125 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 21
%126 = bitcast i32* %125 to <2 x i32>*
%127 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 23
%128 = bitcast i32* %127 to <2 x i32>*
%129 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 25
%130 = bitcast i32* %129 to <2 x i32>*
%131 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 27
%132 = bitcast i32* %131 to <2 x i32>*
%133 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 29
%134 = bitcast i32* %133 to <2 x i32>*
%135 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 31
%136 = bitcast i32* %135 to <2 x i32>*
%137 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 33
%138 = bitcast i32* %137 to <2 x i32>*
%139 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 35
%140 = bitcast i32* %139 to <2 x i32>*
%141 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 37
%142 = bitcast i32* %141 to <2 x i32>*
%143 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 39
%144 = bitcast i32* %143 to <2 x i32>*
%145 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 41
%146 = bitcast i32* %145 to <2 x i32>*
%147 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 43
%148 = bitcast i32* %147 to <2 x i32>*
%149 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 45
%150 = bitcast i32* %149 to <2 x i32>*
%151 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 47
%152 = bitcast i32* %151 to <2 x i32>*
%153 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 49
%154 = bitcast i32* %153 to <2 x i32>*
br label %159
155: ; preds = %324, %159
%156 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%157 = load i64, i64* @EOF
%158 = icmp eq i64 %156, %157
br i1 %158, label %404, label %159
159: ; preds = %12, %155
%160 = load i32, i32* %1
%161 = icmp slt i32 %160, 1
br i1 %161, label %155, label %162
162: ; preds = %159, %324
%163 = phi i32 [ %401, %324 ], [ 1, %159 ]
%164 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %15)
%165 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %16)
%166 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %17)
%167 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %18)
%168 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %19)
%169 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %20)
%170 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %21)
%171 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %22)
%172 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %23)
%173 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %24)
%174 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %25)
%175 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %26)
%176 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %27)
%177 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %28)
%178 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %29)
%179 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %30)
%180 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %31)
%181 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %32)
%182 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %33)
%183 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %34)
%184 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %35)
%185 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %36)
%186 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %37)
%187 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %38)
%188 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %39)
%189 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %40)
%190 = call i32 @memset(i32* %13, i32 0, i32 240)
%191 = call i32 @memset(i32* %14, i32 0, i32 240)
%192 = load i32, i32* %15
%193 = icmp slt i32 %192, 0
br i1 %193, label %274, label %194
194: ; preds = %162
%195 = add nuw i32 %192, 1
%196 = zext i32 %195 to i64
%197 = icmp ult i32 %192, 7
br i1 %197, label %267, label %198
198: ; preds = %194
%199 = and i64 %196, 4294967288
%200 = add nsw i64 %199, -8
%201 = lshr exact i64 %200, 3
%202 = add nuw nsw i64 %201, 1
%203 = and i64 %202, 7
%204 = icmp ult i64 %200, 56
br i1 %204, label %252, label %205
205: ; preds = %198
%206 = and i64 %202, 4611686018427387896
br label %207
207: ; preds = %207, %205
%208 = phi i64 [ 0, %205 ], [ %249, %207 ]
%209 = phi i64 [ 0, %205 ], [ %250, %207 ]
%210 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %208
%211 = bitcast i32* %210 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %211
%212 = getelementptr inbounds i32, i32* %210, i64 4
%213 = bitcast i32* %212 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %213
%214 = or i64 %208, 8
%215 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %214
%216 = bitcast i32* %215 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %216
%217 = getelementptr inbounds i32, i32* %215, i64 4
%218 = bitcast i32* %217 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %218
%219 = or i64 %208, 16
%220 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %219
%221 = bitcast i32* %220 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %221
%222 = getelementptr inbounds i32, i32* %220, i64 4
%223 = bitcast i32* %222 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %223
%224 = or i64 %208, 24
%225 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %224
%226 = bitcast i32* %225 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %226
%227 = getelementptr inbounds i32, i32* %225, i64 4
%228 = bitcast i32* %227 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %228
%229 = or i64 %208, 32
%230 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %229
%231 = bitcast i32* %230 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %231
%232 = getelementptr inbounds i32, i32* %230, i64 4
%233 = bitcast i32* %232 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %233
%234 = or i64 %208, 40
%235 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %234
%236 = bitcast i32* %235 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %236
%237 = getelementptr inbounds i32, i32* %235, i64 4
%238 = bitcast i32* %237 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %238
%239 = or i64 %208, 48
%240 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %239
%241 = bitcast i32* %240 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %241
%242 = getelementptr inbounds i32, i32* %240, i64 4
%243 = bitcast i32* %242 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %243
%244 = or i64 %208, 56
%245 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %244
%246 = bitcast i32* %245 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %246
%247 = getelementptr inbounds i32, i32* %245, i64 4
%248 = bitcast i32* %247 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %248
%249 = add nuw i64 %208, 64
%250 = add nuw i64 %209, 8
%251 = icmp eq i64 %250, %206
br i1 %251, label %252, label %207
252: ; preds = %207, %198
%253 = phi i64 [ 0, %198 ], [ %249, %207 ]
%254 = icmp eq i64 %203, 0
br i1 %254, label %265, label %255
255: ; preds = %252, %255
%256 = phi i64 [ %262, %255 ], [ %253, %252 ]
%257 = phi i64 [ %263, %255 ], [ 0, %252 ]
%258 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %256
%259 = bitcast i32* %258 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %259
%260 = getelementptr inbounds i32, i32* %258, i64 4
%261 = bitcast i32* %260 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %261
%262 = add nuw i64 %256, 8
%263 = add i64 %257, 1
%264 = icmp eq i64 %263, %203
br i1 %264, label %265, label %255
265: ; preds = %255, %252
%266 = icmp eq i64 %199, %196
br i1 %266, label %274, label %267
267: ; preds = %194, %265
%268 = phi i64 [ 0, %194 ], [ %199, %265 ]
br label %269
269: ; preds = %267, %269
%270 = phi i64 [ %272, %269 ], [ %268, %267 ]
%271 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %270
store i32 1, i32* %271
%272 = add nuw nsw i64 %270, 1
%273 = icmp eq i64 %272, %196
br i1 %273, label %274, label %269
274: ; preds = %269, %265, %162
br label %275
275: ; preds = %274, %321
%276 = phi i64 [ %322, %321 ], [ 2, %274 ]
%277 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 %276
%278 = load i32, i32* %277
%279 = icmp eq i32 %278, 0
br i1 %279, label %321, label %280
280: ; preds = %275
%281 = trunc i64 %276 to i32
%282 = mul nsw i32 %278, %281
%283 = icmp sgt i32 %282, -1
%284 = sext i32 %282 to i64
br label %285
285: ; preds = %280, %302
%286 = phi i64 [ 0, %280 ], [ %303, %302 ]
br i1 %283, label %287, label %302
287: ; preds = %285
%288 = getelementptr inbounds [60 x i32], [60 x i32]* %2, i64 0, i64 %286
%289 = load i32, i32* %288
br label %290
290: ; preds = %287, %290
%291 = phi i64 [ 0, %287 ], [ %296, %290 ]
%292 = phi i64 [ %286, %287 ], [ %299, %290 ]
%293 = getelementptr inbounds [60 x i32], [60 x i32]* %3, i64 0, i64 %292
%294 = load i32, i32* %293
%295 = add nsw i32 %294, %289
store i32 %295, i32* %293
%296 = add nuw nsw i64 %291, %276
%297 = icmp sle i64 %296, %284
%298 = add nuw nsw i64 %296, %286
%299 = add nuw nsw i64 %292, %276
%300 = icmp ult i64 %298, 51
%301 = select i1 %297, i1 %300, i1 false
br i1 %301, label %290, label %302
302: ; preds = %290, %285
%303 = add nuw nsw i64 %286, 1
%304 = icmp eq i64 %303, 51
br i1 %304, label %305, label %285
305: ; preds = %302
%306 = load <4 x i32>, <4 x i32>* %43
store <4 x i32> %306, <4 x i32>* %44
store <4 x i32> zeroinitializer, <4 x i32>* %45
%307 = load <4 x i32>, <4 x i32>* %47
store <4 x i32> %307, <4 x i32>* %49
store <4 x i32> zeroinitializer, <4 x i32>* %50
%308 = load <4 x i32>, <4 x i32>* %52
store <4 x i32> %308, <4 x i32>* %54
store <4 x i32> zeroinitializer, <4 x i32>* %55
%309 = load <4 x i32>, <4 x i32>* %57
store <4 x i32> %309, <4 x i32>* %59
store <4 x i32> zeroinitializer, <4 x i32>* %60
%310 = load <4 x i32>, <4 x i32>* %62
store <4 x i32> %310, <4 x i32>* %64
store <4 x i32> zeroinitializer, <4 x i32>* %65
%311 = load <4 x i32>, <4 x i32>* %67
store <4 x i32> %311, <4 x i32>* %69
store <4 x i32> zeroinitializer, <4 x i32>* %70
%312 = load <4 x i32>, <4 x i32>* %72
store <4 x i32> %312, <4 x i32>* %74
store <4 x i32> zeroinitializer, <4 x i32>* %75
%313 = load <4 x i32>, <4 x i32>* %77
store <4 x i32> %313, <4 x i32>* %79
store <4 x i32> zeroinitializer, <4 x i32>* %80
%314 = load <4 x i32>, <4 x i32>* %82
store <4 x i32> %314, <4 x i32>* %84
store <4 x i32> zeroinitializer, <4 x i32>* %85
%315 = load <4 x i32>, <4 x i32>* %87
store <4 x i32> %315, <4 x i32>* %89
store <4 x i32> zeroinitializer, <4 x i32>* %90
%316 = load <4 x i32>, <4 x i32>* %92
store <4 x i32> %316, <4 x i32>* %94
store <4 x i32> zeroinitializer, <4 x i32>* %95
%317 = load <4 x i32>, <4 x i32>* %97
store <4 x i32> %317, <4 x i32>* %99
store <4 x i32> zeroinitializer, <4 x i32>* %100
%318 = load i32, i32* %101
store i32 %318, i32* %102
store i32 0, i32* %101
%319 = load i32, i32* %103
store i32 %319, i32* %104
store i32 0, i32* %103
%320 = load i32, i32* %105
store i32 %320, i32* %106
store i32 0, i32* %105
br label %321
321: ; preds = %305, %275
%322 = add nuw nsw i64 %276, 1
%323 = icmp eq i64 %322, 27
br i1 %323, label %324, label %275
324: ; preds = %321
%325 = load <2 x i32>, <2 x i32>* %42
%326 = sext <2 x i32> %325 to <2 x i64>
%327 = load <2 x i32>, <2 x i32>* %108
%328 = sext <2 x i32> %327 to <2 x i64>
%329 = add nsw <2 x i64> %326, %328
%330 = load <2 x i32>, <2 x i32>* %110
%331 = sext <2 x i32> %330 to <2 x i64>
%332 = add nsw <2 x i64> %329, %331
%333 = load <2 x i32>, <2 x i32>* %112
%334 = sext <2 x i32> %333 to <2 x i64>
%335 = add nsw <2 x i64> %332, %334
%336 = load <2 x i32>, <2 x i32>* %114
%337 = sext <2 x i32> %336 to <2 x i64>
%338 = add nsw <2 x i64> %335, %337
%339 = load <2 x i32>, <2 x i32>* %116
%340 = sext <2 x i32> %339 to <2 x i64>
%341 = add nsw <2 x i64> %338, %340
%342 = load <2 x i32>, <2 x i32>* %118
%343 = sext <2 x i32> %342 to <2 x i64>
%344 = add nsw <2 x i64> %341, %343
%345 = load <2 x i32>, <2 x i32>* %120
%346 = sext <2 x i32> %345 to <2 x i64>
%347 = add <2 x i64> %344, %346
%348 = load <2 x i32>, <2 x i32>* %122
%349 = sext <2 x i32> %348 to <2 x i64>
%350 = add <2 x i64> %347, %349
%351 = load <2 x i32>, <2 x i32>* %124
%352 = sext <2 x i32> %351 to <2 x i64>
%353 = add <2 x i64> %350, %352
%354 = load <2 x i32>, <2 x i32>* %126
%355 = sext <2 x i32> %354 to <2 x i64>
%356 = add <2 x i64> %353, %355
%357 = load <2 x i32>, <2 x i32>* %128
%358 = sext <2 x i32> %357 to <2 x i64>
%359 = add <2 x i64> %356, %358
%360 = load <2 x i32>, <2 x i32>* %130
%361 = sext <2 x i32> %360 to <2 x i64>
%362 = add <2 x i64> %359, %361
%363 = load <2 x i32>, <2 x i32>* %132
%364 = sext <2 x i32> %363 to <2 x i64>
%365 = add <2 x i64> %362, %364
%366 = load <2 x i32>, <2 x i32>* %134
%367 = sext <2 x i32> %366 to <2 x i64>
%368 = add <2 x i64> %365, %367
%369 = load <2 x i32>, <2 x i32>* %136
%370 = sext <2 x i32> %369 to <2 x i64>
%371 = add <2 x i64> %368, %370
%372 = load <2 x i32>, <2 x i32>* %138
%373 = sext <2 x i32> %372 to <2 x i64>
%374 = add <2 x i64> %371, %373
%375 = load <2 x i32>, <2 x i32>* %140
%376 = sext <2 x i32> %375 to <2 x i64>
%377 = add <2 x i64> %374, %376
%378 = load <2 x i32>, <2 x i32>* %142
%379 = sext <2 x i32> %378 to <2 x i64>
%380 = add <2 x i64> %377, %379
%381 = load <2 x i32>, <2 x i32>* %144
%382 = sext <2 x i32> %381 to <2 x i64>
%383 = add <2 x i64> %380, %382
%384 = load <2 x i32>, <2 x i32>* %146
%385 = sext <2 x i32> %384 to <2 x i64>
%386 = add <2 x i64> %383, %385
%387 = load <2 x i32>, <2 x i32>* %148
%388 = sext <2 x i32> %387 to <2 x i64>
%389 = add <2 x i64> %386, %388
%390 = load <2 x i32>, <2 x i32>* %150
%391 = sext <2 x i32> %390 to <2 x i64>
%392 = add <2 x i64> %389, %391
%393 = load <2 x i32>, <2 x i32>* %152
%394 = sext <2 x i32> %393 to <2 x i64>
%395 = add <2 x i64> %392, %394
%396 = load <2 x i32>, <2 x i32>* %154
%397 = sext <2 x i32> %396 to <2 x i64>
%398 = add <2 x i64> %395, %397
%399 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %398)
%400 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i64 %399)
%401 = add nuw nsw i32 %163, 1
%402 = load i32, i32* %1
%403 = icmp slt i32 %163, %402
br i1 %403, label %162, label %155
404: ; preds = %155, %0
ret i32 0
}