#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*/ HighAdd(int *, int *, int *);
int /*<<< orphan*/ HighPrint(int *);
int /*<<< orphan*/ printf(char *, int);
int /*<<< orphan*/ scanf(char *, int *, ...);
int main() {
  int p, i;
  scanf("%d", &p);
  for (i = 0; i < p; i++) {
    int x[64 + 1][10][3];
    int j, k;
    x[1][0][0] = 1;
    x[1][0][1] = 0;
    x[1][0][2] = 0;
    for (j = 1; j < 10; j++) {
      x[1][j][0] = x[1][j - 1][0] + 1;
      x[1][j][1] = 0;
      x[1][j][2] = 0;
    }
    int num, n;
    scanf("%d%d", &num, &n);
    for (j = 2; j <= n; j++) {
      x[j][0][0] = 1;
      x[j][0][1] = 0;
      x[j][0][2] = 0;
      for (k = 1; k < 10; k++) {
        x[j][k][0] = 0;
        HighAdd(x[j][k], x[j][k - 1], x[j - 1][k]);
      }
    }
    printf("%d ", num);
    HighPrint(x[n][10 - 1]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1ea0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea9(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13ea <main+0x2aa>
movl   $0x1,-0x1e18(%rbp)
movl   $0x0,-0x1e14(%rbp)
movl   $0x0,-0x1e10(%rbp)
movl   $0x1,-0x1e94(%rbp)
cmpl   $0xa,-0x1e94(%rbp)
jge    123e <main+0xfe>
lea    -0x1e90(%rbp),%rax
add    $0x78,%rax
mov    -0x1e94(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
mov    (%rax),%ecx
add    $0x1,%ecx
lea    -0x1e90(%rbp),%rax
add    $0x78,%rax
movslq -0x1e94(%rbp),%rdx
imul   $0xc,%rdx,%rdx
add    %rdx,%rax
mov    %ecx,(%rax)
lea    -0x1e90(%rbp),%rax
add    $0x78,%rax
movslq -0x1e94(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movl   $0x0,0x4(%rax)
lea    -0x1e90(%rbp),%rax
add    $0x78,%rax
movslq -0x1e94(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movl   $0x0,0x8(%rax)
mov    -0x1e94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1e94(%rbp)
jmp    119f <main+0x5f>
lea    0xdbb(%rip),%rdi
lea    -0x1e9c(%rbp),%rsi
lea    -0x1ea0(%rbp),%rdx
mov    $0x0,%al
call   1060 <scanf@plt>
movl   $0x2,-0x1e94(%rbp)
mov    -0x1e94(%rbp),%eax
cmp    -0x1ea0(%rbp),%eax
jg     13ac <main+0x26c>
movslq -0x1e94(%rbp),%rcx
lea    -0x1e90(%rbp),%rax
imul   $0x78,%rcx,%rcx
add    %rcx,%rax
movl   $0x1,(%rax)
movslq -0x1e94(%rbp),%rcx
lea    -0x1e90(%rbp),%rax
imul   $0x78,%rcx,%rcx
add    %rcx,%rax
movl   $0x0,0x4(%rax)
movslq -0x1e94(%rbp),%rcx
lea    -0x1e90(%rbp),%rax
imul   $0x78,%rcx,%rcx
add    %rcx,%rax
movl   $0x0,0x8(%rax)
movl   $0x1,-0x1e98(%rbp)
cmpl   $0xa,-0x1e98(%rbp)
jge    1393 <main+0x253>
movslq -0x1e94(%rbp),%rcx
lea    -0x1e90(%rbp),%rax
imul   $0x78,%rcx,%rcx
add    %rcx,%rax
movslq -0x1e98(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movl   $0x0,(%rax)
movslq -0x1e94(%rbp),%rax
lea    -0x1e90(%rbp),%rdi
imul   $0x78,%rax,%rax
add    %rax,%rdi
movslq -0x1e98(%rbp),%rax
imul   $0xc,%rax,%rax
add    %rax,%rdi
movslq -0x1e94(%rbp),%rax
lea    -0x1e90(%rbp),%rsi
imul   $0x78,%rax,%rax
add    %rax,%rsi
mov    -0x1e98(%rbp),%eax
sub    $0x1,%eax
cltq
imul   $0xc,%rax,%rax
add    %rax,%rsi
mov    -0x1e94(%rbp),%eax
sub    $0x1,%eax
cltq
lea    -0x1e90(%rbp),%rdx
imul   $0x78,%rax,%rax
add    %rax,%rdx
movslq -0x1e98(%rbp),%rax
imul   $0xc,%rax,%rax
add    %rax,%rdx
call   1050 <HighAdd@plt>
mov    -0x1e98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1e98(%rbp)
jmp    12d3 <main+0x193>
jmp    1398 <main+0x258>
mov    -0x1e94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1e94(%rbp)
jmp    1264 <main+0x124>
mov    -0x1e9c(%rbp),%esi
lea    0xc4c(%rip),%rdi
call   1030 <printf@plt>
movslq -0x1ea0(%rbp),%rax
lea    -0x1e90(%rbp),%rdi
imul   $0x78,%rax,%rax
add    %rax,%rdi
add    $0x6c,%rdi
call   1040 <HighPrint@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    116b <main+0x2b>
xor    %eax,%eax
add    $0x1ea0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1e88,%rsp
lea    0xf2a(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
cmpl   $0x0,0x8(%rsp)
jle    13e0 <main+0x2a0>
lea    0xf0f(%rip),%r13
xor    %r14d,%r14d
jmp    11b1 <main+0x71>
nopl   0x0(%rax,%rax,1)
mov    0xc(%rsp),%esi
mov    %r13,%rdi
call   1030 <printf@plt>
movslq 0x4(%rsp),%rax
imul   $0x78,%rax,%rax
lea    (%rsp,%rax,1),%rdi
add    $0x7c,%rdi
call   1040 <HighPrint@plt>
add    $0x1,%r14d
cmp    0x8(%rsp),%r14d
jge    13e0 <main+0x2a0>
movaps 0xe48(%rip),%xmm0
movups %xmm0,0x88(%rsp)
movaps 0xe49(%rip),%xmm0
movups %xmm0,0x98(%rsp)
movaps 0xe4a(%rip),%xmm0
movups %xmm0,0xa8(%rsp)
movaps 0xe4b(%rip),%xmm0
movups %xmm0,0xb8(%rsp)
movaps 0xe4c(%rip),%xmm0
movups %xmm0,0xc8(%rsp)
movaps 0xe4d(%rip),%xmm0
movups %xmm0,0xd8(%rsp)
movaps 0xe4e(%rip),%xmm0
movups %xmm0,0xe8(%rsp)
movq   $0x0,0xf8(%rsp)
lea    0xe53(%rip),%rdi
lea    0xc(%rsp),%rsi
lea    0x4(%rsp),%rdx
xor    %eax,%eax
call   1060 <scanf@plt>
cmpl   $0x2,0x4(%rsp)
movaps 0xe26(%rip),%xmm0
jl     1180 <main+0x40>
mov    $0x1,%r15d
lea    0x10(%rsp),%r12
nopl   0x0(%rax,%rax,1)
lea    0xf0(%r12),%rsi
lea    0xfc(%r12),%rbx
movups %xmm0,0xf0(%r12)
lea    0x84(%r12),%rdx
mov    %rbx,%rdi
call   1050 <HighAdd@plt>
lea    0x108(%r12),%rbp
movl   $0x0,0x108(%r12)
lea    0x90(%r12),%rdx
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1050 <HighAdd@plt>
lea    0x114(%r12),%rbx
movl   $0x0,0x114(%r12)
lea    0x9c(%r12),%rdx
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <HighAdd@plt>
lea    0x120(%r12),%rbp
movl   $0x0,0x120(%r12)
lea    0xa8(%r12),%rdx
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1050 <HighAdd@plt>
lea    0x12c(%r12),%rbx
movl   $0x0,0x12c(%r12)
lea    0xb4(%r12),%rdx
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <HighAdd@plt>
lea    0x138(%r12),%rbp
movl   $0x0,0x138(%r12)
lea    0xc0(%r12),%rdx
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1050 <HighAdd@plt>
lea    0x144(%r12),%rbx
movl   $0x0,0x144(%r12)
lea    0xcc(%r12),%rdx
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <HighAdd@plt>
lea    0x150(%r12),%rbp
movl   $0x0,0x150(%r12)
lea    0xd8(%r12),%rdx
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1050 <HighAdd@plt>
lea    0x15c(%r12),%rdi
movl   $0x0,0x15c(%r12)
lea    0xe4(%r12),%rdx
mov    %rbp,%rsi
call   1050 <HighAdd@plt>
movaps 0xcab(%rip),%xmm0
movslq 0x4(%rsp),%rax
add    $0x1,%r15
add    $0x78,%r12
cmp    %rax,%r15
jl     1260 <main+0x120>
jmp    1180 <main+0x40>
xor    %eax,%eax
add    $0x1e88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"%d%d\00"
@.str.2 = [4 x i8] c"%d \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [65 x [10 x [3 x i32]]]
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %1 to i8*
%6 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%7 = load i32, i32* %1
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %80
9: ; preds = %0
%10 = bitcast [65 x [10 x [3 x i32]]]* %2 to i8*
%11 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 0, i64 0
%12 = bitcast i32* %3 to i8*
%13 = bitcast i32* %4 to i8*
%14 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 1, i64 1
%15 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 2, i64 2
%16 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 4, i64 0
%17 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 5, i64 1
%18 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 6, i64 2
%19 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 8, i64 0
%20 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 9, i64 1
%21 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 1, i64 9, i64 2
%22 = bitcast i32* %11 to <4 x i32>*
%23 = bitcast i32* %14 to <4 x i32>*
%24 = bitcast i32* %15 to <4 x i32>*
%25 = bitcast i32* %16 to <4 x i32>*
%26 = bitcast i32* %17 to <4 x i32>*
%27 = bitcast i32* %18 to <4 x i32>*
%28 = bitcast i32* %19 to <4 x i32>*
br label %29
29: ; preds = %9, %70
%30 = phi i32 [ 0, %9 ], [ %77, %70 ]
store <4 x i32> <i32 1, i32 0, i32 0, i32 2>, <4 x i32>* %22
store <4 x i32> <i32 0, i32 0, i32 3, i32 0>, <4 x i32>* %23
store <4 x i32> <i32 0, i32 4, i32 0, i32 0>, <4 x i32>* %24
store <4 x i32> <i32 5, i32 0, i32 0, i32 6>, <4 x i32>* %25
store <4 x i32> <i32 0, i32 0, i32 7, i32 0>, <4 x i32>* %26
store <4 x i32> <i32 0, i32 8, i32 0, i32 0>, <4 x i32>* %27
store <4 x i32> <i32 9, i32 0, i32 0, i32 10>, <4 x i32>* %28
store i32 0, i32* %20
store i32 0, i32* %21
%31 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %3, i32* %4)
%32 = load i32, i32* %4
%33 = icmp slt i32 %32, 2
br i1 %33, label %70, label %34
34: ; preds = %29, %34
%35 = phi i64 [ %66, %34 ], [ 2, %29 ]
%36 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 0, i64 0
%37 = add nsw i64 %35, -1
%38 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 1, i64 0
%39 = bitcast i32* %36 to <4 x i32>*
store <4 x i32> <i32 1, i32 0, i32 0, i32 0>, <4 x i32>* %39
%40 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 1, i64 0
%41 = call i32 @HighAdd(i32* %38, i32* %36, i32* %40)
%42 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 2, i64 0
store i32 0, i32* %42
%43 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 2, i64 0
%44 = call i32 @HighAdd(i32* %42, i32* %38, i32* %43)
%45 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 3, i64 0
store i32 0, i32* %45
%46 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 3, i64 0
%47 = call i32 @HighAdd(i32* %45, i32* %42, i32* %46)
%48 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 4, i64 0
store i32 0, i32* %48
%49 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 4, i64 0
%50 = call i32 @HighAdd(i32* %48, i32* %45, i32* %49)
%51 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 5, i64 0
store i32 0, i32* %51
%52 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 5, i64 0
%53 = call i32 @HighAdd(i32* %51, i32* %48, i32* %52)
%54 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 6, i64 0
store i32 0, i32* %54
%55 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 6, i64 0
%56 = call i32 @HighAdd(i32* %54, i32* %51, i32* %55)
%57 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 7, i64 0
store i32 0, i32* %57
%58 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 7, i64 0
%59 = call i32 @HighAdd(i32* %57, i32* %54, i32* %58)
%60 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 8, i64 0
store i32 0, i32* %60
%61 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 8, i64 0
%62 = call i32 @HighAdd(i32* %60, i32* %57, i32* %61)
%63 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %35, i64 9, i64 0
store i32 0, i32* %63
%64 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %37, i64 9, i64 0
%65 = call i32 @HighAdd(i32* %63, i32* %60, i32* %64)
%66 = add nuw nsw i64 %35, 1
%67 = load i32, i32* %4
%68 = sext i32 %67 to i64
%69 = icmp slt i64 %35, %68
br i1 %69, label %34, label %70
70: ; preds = %34, %29
%71 = load i32, i32* %3
%72 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %71)
%73 = load i32, i32* %4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [65 x [10 x [3 x i32]]], [65 x [10 x [3 x i32]]]* %2, i64 0, i64 %74, i64 9, i64 0
%76 = call i32 @HighPrint(i32* %75)
%77 = add nuw nsw i32 %30, 1
%78 = load i32, i32* %1
%79 = icmp slt i32 %77, %78
br i1 %79, label %29, label %80
80: ; preds = %70, %0
ret i32 0
}