#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*/ findmax(int *, int *);
int /*<<< orphan*/ findmin(int *, int *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(int argc, char const *argv[]) {
  int data[3][4] = {0};
  char ismax[3][4] = {0};
  char ismin[3][4] = {0};
  char yes = 0;
  int re[4] = {0}, col[4] = {0};
  for (int i = 0; i < 3; ++i) {
    for (int j = 0; j < 4; ++j) {
      scanf("%d", &data[i][j]);
    }
  }
  for (int i = 0; i < 3; ++i) {
    findmax(data[i], re);
    for (int j = 0; j < 4; ++j) {
      if (re[j])
        ismax[i][j] = 1;
    }
  }
  for (int i = 0; i < 4; ++i) {
    col[0] = data[0][i];
    col[1] = data[1][i];
    col[2] = data[2][i];
    findmin(col, re);
    for (int j = 0; j < 3; ++j) {
      if (re[j])
        ismax[j][i] = 1;
    }
  }
  for (int i = 0; i < 3; ++i) {
    for (int j = 0; j < 4; ++j) {
      if (ismax[i][j] && ismin[i][j]) {
        printf("%d\n", data[i][j]);
        yes = 1;
      }
    }
  }
  if (yes != 1) {
    printf("NO");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x30,%edx
call   1040 <memset@plt>
lea    -0x4c(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1040 <memset@plt>
lea    -0x58(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1040 <memset@plt>
movb   $0x0,-0x59(%rbp)
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1040 <memset@plt>
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1040 <memset@plt>
movl   $0x0,-0x84(%rbp)
cmpl   $0x3,-0x84(%rbp)
jge    1244 <main+0xf4>
movl   $0x0,-0x88(%rbp)
cmpl   $0x4,-0x88(%rbp)
jge    122b <main+0xdb>
movslq -0x84(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x4,%rax
add    %rax,%rsi
movslq -0x88(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdee(%rip),%rdi
call   1070 <scanf@plt>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    11de <main+0x8e>
jmp    1230 <main+0xe0>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    11c7 <main+0x77>
movl   $0x0,-0x8c(%rbp)
cmpl   $0x3,-0x8c(%rbp)
jge    12ee <main+0x19e>
movslq -0x8c(%rbp),%rax
lea    -0x40(%rbp),%rdi
shl    $0x4,%rax
add    %rax,%rdi
lea    -0x70(%rbp),%rsi
call   1060 <findmax@plt>
movl   $0x0,-0x90(%rbp)
cmpl   $0x4,-0x90(%rbp)
jge    12d5 <main+0x185>
movslq -0x90(%rbp),%rax
cmpl   $0x0,-0x70(%rbp,%rax,4)
je     12bc <main+0x16c>
movslq -0x8c(%rbp),%rcx
lea    -0x4c(%rbp),%rax
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x90(%rbp),%rcx
movb   $0x1,(%rax,%rcx,1)
jmp    12c1 <main+0x171>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    1280 <main+0x130>
jmp    12da <main+0x18a>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    124e <main+0xfe>
movl   $0x0,-0x94(%rbp)
cmpl   $0x4,-0x94(%rbp)
jge    13b4 <main+0x264>
movslq -0x94(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    %eax,-0x80(%rbp)
movslq -0x94(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%eax
mov    %eax,-0x7c(%rbp)
movslq -0x94(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%eax
mov    %eax,-0x78(%rbp)
lea    -0x80(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1050 <findmin@plt>
movl   $0x0,-0x98(%rbp)
cmpl   $0x3,-0x98(%rbp)
jge    139b <main+0x24b>
movslq -0x98(%rbp),%rax
cmpl   $0x0,-0x70(%rbp,%rax,4)
je     1382 <main+0x232>
movslq -0x98(%rbp),%rcx
lea    -0x4c(%rbp),%rax
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x94(%rbp),%rcx
movb   $0x1,(%rax,%rcx,1)
jmp    1387 <main+0x237>
mov    -0x98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
jmp    1346 <main+0x1f6>
jmp    13a0 <main+0x250>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    12f8 <main+0x1a8>
movl   $0x0,-0x9c(%rbp)
cmpl   $0x3,-0x9c(%rbp)
jge    148e <main+0x33e>
movl   $0x0,-0xa0(%rbp)
cmpl   $0x4,-0xa0(%rbp)
jge    1475 <main+0x325>
movslq -0x9c(%rbp),%rcx
lea    -0x4c(%rbp),%rax
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0xa0(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     145c <main+0x30c>
movslq -0x9c(%rbp),%rcx
lea    -0x58(%rbp),%rax
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0xa0(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     145c <main+0x30c>
movslq -0x9c(%rbp),%rcx
lea    -0x40(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0xa0(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xbb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movb   $0x1,-0x59(%rbp)
jmp    1461 <main+0x311>
mov    -0xa0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa0(%rbp)
jmp    13d5 <main+0x285>
jmp    147a <main+0x32a>
mov    -0x9c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9c(%rbp)
jmp    13be <main+0x26e>
movsbl -0x59(%rbp),%eax
cmp    $0x1,%eax
je     14a9 <main+0x359>
lea    0xb65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x58,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
lea    0x30(%rsp),%r14
lea    0x20(%rsp),%r15
movaps %xmm0,0x40(%rsp)
movaps %xmm0,(%rsp)
lea    0xe89(%rip),%rbx
lea    0x10(%rsp),%r12
mov    %rbx,%rdi
mov    %r12,%rsi
call   1060 <scanf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1060 <scanf@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x2c(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <scanf@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x3c(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0x40(%rsp),%rbx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1050 <findmax@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <findmax@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1050 <findmax@plt>
mov    0x10(%rsp),%eax
mov    0x20(%rsp),%ecx
mov    %eax,(%rsp)
mov    %ecx,0x4(%rsp)
mov    0x30(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    %rsp,%r14
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <findmin@plt>
mov    0x14(%rsp),%eax
mov    0x24(%rsp),%ecx
mov    %eax,(%rsp)
mov    %ecx,0x4(%rsp)
mov    0x34(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <findmin@plt>
mov    0x18(%rsp),%eax
mov    0x28(%rsp),%ecx
mov    %eax,(%rsp)
mov    %ecx,0x4(%rsp)
mov    0x38(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <findmin@plt>
mov    0x1c(%rsp),%eax
mov    0x2c(%rsp),%ecx
mov    %eax,(%rsp)
mov    %ecx,0x4(%rsp)
mov    0x3c(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <findmin@plt>
lea    0xd39(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.2 = [3 x i8] c"NO\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [3 x [4 x i32]]
%4 = alloca [4 x i32]
%5 = alloca [4 x i32]
%6 = bitcast [3 x [4 x i32]]* %3 to i8*
%7 = bitcast [4 x i32]* %4 to i8*
%8 = bitcast [4 x i32]* %5 to i8*
%9 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 0, i64 0
%10 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %9)
%11 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 0, i64 1
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %11)
%13 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 0, i64 2
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %13)
%15 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 0, i64 3
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %15)
%17 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 1, i64 0
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %17)
%19 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 1, i64 1
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %19)
%21 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 1, i64 2
%22 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %21)
%23 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 1, i64 3
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %23)
%25 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 2, i64 0
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %25)
%27 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 2, i64 1
%28 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %27)
%29 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 2, i64 2
%30 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %29)
%31 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %3, i64 0, i64 2, i64 3
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %31)
%33 = getelementptr inbounds [4 x i32], [4 x i32]* %4, i64 0, i64 0
%34 = call i32 @findmax(i32* %9, i32* %33)
%35 = call i32 @findmax(i32* %17, i32* %33)
%36 = call i32 @findmax(i32* %25, i32* %33)
%37 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 0
%38 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 1
%39 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 2
%40 = load i32, i32* %9
store i32 %40, i32* %37
%41 = load i32, i32* %17
store i32 %41, i32* %38
%42 = load i32, i32* %25
store i32 %42, i32* %39
%43 = call i32 @findmin(i32* %37, i32* %33)
%44 = load i32, i32* %11
store i32 %44, i32* %37
%45 = load i32, i32* %19
store i32 %45, i32* %38
%46 = load i32, i32* %27
store i32 %46, i32* %39
%47 = call i32 @findmin(i32* %37, i32* %33)
%48 = load i32, i32* %13
store i32 %48, i32* %37
%49 = load i32, i32* %21
store i32 %49, i32* %38
%50 = load i32, i32* %29
store i32 %50, i32* %39
%51 = call i32 @findmin(i32* %37, i32* %33)
%52 = load i32, i32* %15
store i32 %52, i32* %37
%53 = load i32, i32* %23
store i32 %53, i32* %38
%54 = load i32, i32* %31
store i32 %54, i32* %39
%55 = call i32 @findmin(i32* %37, i32* %33)
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}