#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*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(void) {
  int array[5][5] = {{0}};
  int row_totals[5] = {0}, column_totals[5] = {0};
  for (int i = 0; i < 5; i++) {
    printf("enter a row %d\n", i + 1);
    for (int j = 0; j < 5; j++) {
      scanf("%d", &array[i][j]);
    }
  }
  for (int i = 0; i < 5; i++) {
    for (int j = 0; j < 5; j++) {
      row_totals[i] += array[i][j];
    }
  }
  for (int i = 0; i < 5; i++) {
    for (int j = 0; j < 5; j++) {
      column_totals[i] += array[j][i];
    }
  }
  printf("row totals:");
  for (int i = 0; i < 5; i++) {
    printf("%d ", row_totals[i]);
  }
  printf("\n");
  printf("column totals:");
  for (int i = 0; i < 5; i++) {
    printf("%d ", column_totals[i]);
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1040 <memset@plt>
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1040 <memset@plt>
lea    -0xb0(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1040 <memset@plt>
movl   $0x0,-0xb4(%rbp)
cmpl   $0x5,-0xb4(%rbp)
jge    1216 <main+0xe6>
mov    -0xb4(%rbp),%esi
add    $0x1,%esi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xb8(%rbp)
cmpl   $0x5,-0xb8(%rbp)
jge    11fd <main+0xcd>
movslq -0xb4(%rbp),%rax
lea    -0x70(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
movslq -0xb8(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe2c(%rip),%rdi
call   1050 <scanf@plt>
mov    -0xb8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb8(%rbp)
jmp    11b0 <main+0x80>
jmp    1202 <main+0xd2>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    1182 <main+0x52>
movl   $0x0,-0xbc(%rbp)
cmpl   $0x5,-0xbc(%rbp)
jge    12a2 <main+0x172>
movl   $0x0,-0xc0(%rbp)
cmpl   $0x5,-0xc0(%rbp)
jge    1289 <main+0x159>
movslq -0xbc(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0xc0(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movslq -0xbc(%rbp),%rax
add    -0x90(%rbp,%rax,4),%ecx
mov    %ecx,-0x90(%rbp,%rax,4)
mov    -0xc0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc0(%rbp)
jmp    1237 <main+0x107>
jmp    128e <main+0x15e>
mov    -0xbc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xbc(%rbp)
jmp    1220 <main+0xf0>
movl   $0x0,-0xc4(%rbp)
cmpl   $0x5,-0xc4(%rbp)
jge    132e <main+0x1fe>
movl   $0x0,-0xc8(%rbp)
cmpl   $0x5,-0xc8(%rbp)
jge    1315 <main+0x1e5>
movslq -0xc8(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0xc4(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movslq -0xc4(%rbp),%rax
add    -0xb0(%rbp,%rax,4),%ecx
mov    %ecx,-0xb0(%rbp,%rax,4)
mov    -0xc8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc8(%rbp)
jmp    12c3 <main+0x193>
jmp    131a <main+0x1ea>
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    12ac <main+0x17c>
lea    0xcde(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xcc(%rbp)
cmpl   $0x5,-0xcc(%rbp)
jge    1383 <main+0x253>
movslq -0xcc(%rbp),%rax
mov    -0x90(%rbp,%rax,4),%esi
lea    0xcb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xcc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xcc(%rbp)
jmp    1346 <main+0x216>
lea    0xc84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xd0(%rbp)
cmpl   $0x5,-0xd0(%rbp)
jge    13e6 <main+0x2b6>
movslq -0xd0(%rbp),%rax
mov    -0xb0(%rbp,%rax,4),%esi
lea    0xc54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xd0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd0(%rbp)
jmp    13a9 <main+0x279>
lea    0xc21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movl   $0x0,0x60(%rsp)
lea    0x40(%rsp),%r12
lea    0x30(%rsp),%r13
lea    0x20(%rsp),%r14
lea    0x10(%rsp),%r15
lea    0xe7c(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe76(%rip),%rbp
mov    %rsp,%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x4(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x8(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0xc(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x18(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbp,%rdi
mov    %r14,%rsi
call   1050 <scanf@plt>
lea    0x24(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x28(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x2c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbp,%rdi
mov    %r13,%rsi
call   1050 <scanf@plt>
lea    0x34(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x38(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbp,%rdi
mov    %r12,%rsi
call   1050 <scanf@plt>
lea    0x44(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x48(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x4c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
lea    0x50(%rsp),%rsi
call   1050 <scanf@plt>
lea    0x54(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x58(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
lea    0x5c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbp,%rdi
lea    0x60(%rsp),%rsi
call   1050 <scanf@plt>
mov    (%rsp),%ebx
mov    0x4(%rsp),%ebp
lea    (%rbx,%rbp,1),%eax
mov    0x8(%rsp),%r9d
add    %r9d,%eax
mov    0xc(%rsp),%r8d
add    %r8d,%eax
mov    0x10(%rsp),%edi
add    %edi,%eax
mov    %eax,0x7c(%rsp)
mov    0x14(%rsp),%ecx
mov    0x18(%rsp),%eax
lea    (%rcx,%rax,1),%r14d
mov    0x28(%rsp),%esi
mov    0x2c(%rsp),%edx
add    %ecx,%ebx
lea    (%rsi,%rdx,1),%r13d
add    %esi,%ebx
mov    0x3c(%rsp),%ecx
mov    %rbp,%rsi
add    %eax,%esi
mov    0x40(%rsp),%eax
add    %ecx,%ebx
lea    (%rcx,%rax,1),%ebp
add    %edx,%esi
mov    0x50(%rsp),%ecx
add    %eax,%esi
mov    0x54(%rsp),%eax
add    %ecx,%ebx
lea    (%rcx,%rax,1),%r12d
add    %eax,%esi
mov    %rsi,0x80(%rsp)
mov    0x1c(%rsp),%eax
add    %eax,%r14d
add    %eax,%r9d
mov    0x30(%rsp),%eax
add    %eax,%r13d
add    %eax,%r9d
mov    0x44(%rsp),%eax
add    %eax,%ebp
add    %eax,%r9d
mov    0x58(%rsp),%eax
add    %eax,%r12d
add    %eax,%r9d
mov    %r9d,0x78(%rsp)
mov    0x20(%rsp),%eax
add    %eax,%r14d
add    %eax,%r8d
mov    0x34(%rsp),%eax
add    %eax,%r13d
add    %eax,%r8d
mov    0x48(%rsp),%eax
add    %eax,%ebp
add    %eax,%r8d
mov    0x5c(%rsp),%eax
add    %eax,%r12d
add    %eax,%r8d
mov    %r8d,0x74(%rsp)
mov    0x24(%rsp),%eax
add    %eax,%r14d
add    %eax,%edi
mov    0x38(%rsp),%eax
add    %eax,%r13d
add    %eax,%edi
mov    0x4c(%rsp),%eax
add    %eax,%ebp
add    %eax,%edi
mov    0x60(%rsp),%eax
add    %eax,%r12d
add    %eax,%edi
mov    %edi,0x70(%rsp)
lea    0xc0e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc0c(%rip),%r15
mov    %r15,%rdi
mov    0x7c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xbbe(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    0x80(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    0x78(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    0x74(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    0x70(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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