#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 INT_MIN;
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, int);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int *arr[6];
  for (int i = 0; i < 6; i++)
    arr[i] = (int *)malloc(6 * sizeof(int));
  for (int arr_i = 0; arr_i < 6; arr_i++) {
    for (int arr_j = 0; arr_j < 6; arr_j++) {
      scanf("%d", &arr[arr_i][arr_j]);
    }
  }
  int sum = INT_MIN;
  for (int arr_i = 0; arr_i < 4; arr_i++) {
    for (int arr_j = 0; arr_j < 4; arr_j++) {
      int h_sum = 0;
      for (int h_j = 0; h_j < 3; h_j++) {
        h_sum += arr[arr_i][arr_j + h_j];
      }
      h_sum += arr[arr_i + 1][arr_j + 1];
      for (int h_j = 0; h_j < 3; h_j++) {
        h_sum += arr[arr_i + 2][arr_j + h_j];
      }
      if (h_sum > sum) {
        sum = h_sum;
      }
    }
  }
  printf("%d", sum);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0x6,-0x44(%rbp)
jge    1174 <main+0x44>
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
movslq -0x44(%rbp),%rax
mov    %rcx,-0x40(%rbp,%rax,8)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1146 <main+0x16>
movl   $0x0,-0x48(%rbp)
cmpl   $0x6,-0x48(%rbp)
jge    11d7 <main+0xa7>
movl   $0x0,-0x4c(%rbp)
cmpl   $0x6,-0x4c(%rbp)
jge    11c4 <main+0x94>
movslq -0x48(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rsi
movslq -0x4c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe4f(%rip),%rdi
call   1050 <scanf@plt>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    118c <main+0x5c>
jmp    11c9 <main+0x99>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    117b <main+0x4b>
mov    0x2e0a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x50(%rbp)
movl   $0x0,-0x54(%rbp)
cmpl   $0x4,-0x54(%rbp)
jge    12db <main+0x1ab>
movl   $0x0,-0x58(%rbp)
cmpl   $0x4,-0x58(%rbp)
jge    12c8 <main+0x198>
movl   $0x0,-0x5c(%rbp)
movl   $0x0,-0x60(%rbp)
cmpl   $0x3,-0x60(%rbp)
jge    1246 <main+0x116>
movslq -0x54(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rax
mov    -0x58(%rbp),%ecx
add    -0x60(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
add    -0x5c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1213 <main+0xe3>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x40(%rbp,%rax,8),%rax
mov    -0x58(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
add    -0x5c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
movl   $0x0,-0x64(%rbp)
cmpl   $0x3,-0x64(%rbp)
jge    12a3 <main+0x173>
mov    -0x54(%rbp),%eax
add    $0x2,%eax
cltq
mov    -0x40(%rbp,%rax,8),%rax
mov    -0x58(%rbp),%ecx
add    -0x64(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
add    -0x5c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    126c <main+0x13c>
mov    -0x5c(%rbp),%eax
cmp    -0x50(%rbp),%eax
jle    12b5 <main+0x185>
mov    -0x5c(%rbp),%eax
mov    %eax,-0x50(%rbp)
jmp    12ba <main+0x18a>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    11fb <main+0xcb>
jmp    12cd <main+0x19d>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    11ea <main+0xba>
mov    -0x50(%rbp),%esi
lea    0xd1b(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%r14
mov    %rax,0x20(%rsp)
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%r13
mov    %rax,0x28(%rsp)
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%r15
mov    %rax,0x30(%rsp)
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%rbp
mov    %rax,0x38(%rsp)
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,%rbx
mov    %rax,0x40(%rsp)
mov    $0x18,%edi
call   1040 <malloc@plt>
mov    %rax,(%rsp)
mov    %rax,0x48(%rsp)
lea    0xe4e(%rip),%r12
mov    %r12,%rdi
mov    %r14,%rsi
call   1050 <scanf@plt>
lea    0x4(%r14),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%r14),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%r14),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%r14),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x14(%r14),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   1050 <scanf@plt>
lea    0x4(%r13),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%r13),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%r13),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%r13),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x14(%r13),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    %r15,%rsi
call   1050 <scanf@plt>
lea    0x4(%r15),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%r15),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%r15),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%r15),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
add    $0x14,%r15
mov    %r12,%rdi
mov    %r15,%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
call   1050 <scanf@plt>
lea    0x4(%rbp),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%rbp),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%rbp),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%rbp),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
add    $0x14,%rbp
mov    %r12,%rdi
mov    %rbp,%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
lea    0x4(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
add    $0x14,%rbx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    (%rsp),%rbx
mov    %rbx,%rsi
call   1050 <scanf@plt>
lea    0x4(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x8(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0xc(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
lea    0x10(%rbx),%rsi
mov    %r12,%rdi
call   1050 <scanf@plt>
add    $0x14,%rbx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
mov    0x2c75(%rip),%rax
mov    (%rax),%esi
mov    %r13,%rax
mov    %r14,%r9
mov    0x4(%r14),%ebx
mov    0x8(%r14),%ecx
mov    0x4(%r13),%r8d
mov    0x8(%r13),%r14d
mov    0xc(%r9),%ebp
mov    0x10(%r9),%edx
mov    %edx,0x10(%rsp)
mov    0xc(%r13),%r13d
mov    0x10(%rax),%r11d
xor    %edx,%edx
mov    %rdx,(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ecx,%r10d
mov    %ebx,%r15d
nop
mov    %r9,%rdx
mov    %r9,0x18(%rsp)
mov    %rax,%r9
mov    %r10d,%r12d
mov    (%rsp),%rax
mov    0x30(%rsp,%rax,8),%rax
add    (%rdx),%r15d
add    %r10d,%r15d
mov    %r8d,0x14(%rsp)
add    %r8d,%r15d
add    (%rax),%r15d
mov    %r14d,%r10d
mov    0x4(%rax),%r8d
add    %r8d,%r15d
mov    0x8(%rax),%r14d
add    %r14d,%r15d
cmp    %esi,%r15d
cmovle %esi,%r15d
add    %r12d,%ebx
mov    0xc(%rsp),%esi
mov    %r13d,%edi
add    %esi,%ebx
add    %r10d,%ebx
add    %r8d,%ebx
add    %r14d,%ebx
mov    0xc(%rax),%r13d
add    %r13d,%ebx
cmp    %r15d,%ebx
cmovle %r15d,%ebx
mov    0x10(%rsp),%edx
mov    %r11d,%r15d
add    %esi,%ecx
add    %edx,%ecx
add    %edi,%ecx
add    %r14d,%ecx
add    %r13d,%ecx
mov    0x10(%rax),%r11d
add    %r11d,%ecx
cmp    %ebx,%ecx
cmovle %ebx,%ecx
add    %edx,%ebp
mov    0x18(%rsp),%rdx
add    0x14(%rdx),%ebp
mov    %r15d,0x10(%rsp)
add    %r15d,%ebp
add    %r13d,%ebp
add    %r11d,%ebp
add    0x14(%rax),%ebp
cmp    %ecx,%ebp
mov    %ebp,%esi
cmovle %ecx,%esi
cmpq   $0x3,(%rsp)
je     147d <main+0x34d>
mov    %edi,%r12d
mov    0x4(%r9),%ebx
mov    0x8(%r9),%ecx
mov    0xc(%r9),%ebp
addq   $0x1,(%rsp)
mov    %edi,0xc(%rsp)
mov    0x14(%rsp),%r15d
jmp    13b0 <main+0x280>
lea    0xb7c(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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