#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*/ line_printer();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(void) {
  int par_score[18] = {4, 5, 3, 4, 5, 4, 3, 4, 4, 4, 5, 3, 4, 4, 4, 5, 3, 4};
  int player_score[18] = {0}, score_status[18] = {0},
      score_status_case[7] = {0};
  for (int i = 0; i < 18; i++) {
    printf("[%2d] ", i + 1);
    scanf("%d", &player_score[i]);
  }
  for (int i = 0; i < 18; i++) {
    int tmp = player_score[i] - par_score[i];
    if (i != 0)
      score_status[i] = tmp + score_status[i - 1];
    if (tmp <= -3)
      score_status_case[0]++;
    else if (tmp == -2)
      score_status_case[1]++;
    else if (tmp == -1)
      score_status_case[2]++;
    else if (tmp == 0)
      score_status_case[3]++;
    else if (tmp == 1)
      score_status_case[4]++;
    else if (tmp == 2)
      score_status_case[5]++;
    else {
      score_status_case[6]++;
    }
  }
  line_printer();
  printf("Hole   : ");
  for (int i = 0; i < 18; i++)
    printf("%4d", i + 1);
  line_printer();
  printf("Par    : ");
  for (int i = 0; i < 18; i++)
    printf("%4d", par_score[i]);
  line_printer();
  printf("Score  : ");
  for (int i = 0; i < 18; i++)
    printf("%4d", player_score[i]);
  line_printer();
  printf("Status : ");
  for (int i = 0; i < 18; i++)
    printf(score_status[i] ? "%+4d" : "   E", score_status[i]);
  line_printer();
  printf("   알바트로스 : %d\n", score_status_case[0]);
  printf("         이글 : %d\n", score_status_case[1]);
  printf("         버디 : %d\n", score_status_case[2]);
  printf("           파 : %d\n", score_status_case[3]);
  printf("         보기 : %d\n", score_status_case[4]);
  printf("     더블보기 : %d\n", score_status_case[5]);
  printf("  트리플보기+ : %d\n", score_status_case[6]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xe93(%rip),%rsi
mov    $0x48,%edx
call   1060 <memcpy@plt>
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1050 <memset@plt>
lea    -0xf0(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1050 <memset@plt>
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x1c,%edx
call   1050 <memset@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x12,-0x114(%rbp)
jge    1213 <main+0xc3>
mov    -0x114(%rbp),%esi
add    $0x1,%esi
lea    0xe71(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x114(%rbp),%rax
lea    -0xa0(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe55(%rip),%rdi
call   1070 <scanf@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    11ba <main+0x6a>
movl   $0x0,-0x118(%rbp)
cmpl   $0x12,-0x118(%rbp)
jge    1383 <main+0x233>
movslq -0x118(%rbp),%rax
mov    -0xa0(%rbp,%rax,4),%eax
movslq -0x118(%rbp),%rcx
sub    -0x50(%rbp,%rcx,4),%eax
mov    %eax,-0x11c(%rbp)
cmpl   $0x0,-0x118(%rbp)
je     127c <main+0x12c>
mov    -0x11c(%rbp),%ecx
mov    -0x118(%rbp),%eax
sub    $0x1,%eax
cltq
add    -0xf0(%rbp,%rax,4),%ecx
movslq -0x118(%rbp),%rax
mov    %ecx,-0xf0(%rbp,%rax,4)
cmpl   $0xfffffffd,-0x11c(%rbp)
jg     129d <main+0x14d>
mov    -0x110(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x110(%rbp)
jmp    136a <main+0x21a>
cmpl   $0xfffffffe,-0x11c(%rbp)
jne    12be <main+0x16e>
mov    -0x10c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10c(%rbp)
jmp    1365 <main+0x215>
cmpl   $0xffffffff,-0x11c(%rbp)
jne    12df <main+0x18f>
mov    -0x108(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x108(%rbp)
jmp    1360 <main+0x210>
cmpl   $0x0,-0x11c(%rbp)
jne    1300 <main+0x1b0>
mov    -0x104(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x104(%rbp)
jmp    135b <main+0x20b>
cmpl   $0x1,-0x11c(%rbp)
jne    1321 <main+0x1d1>
mov    -0x100(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x100(%rbp)
jmp    1356 <main+0x206>
cmpl   $0x2,-0x11c(%rbp)
jne    1342 <main+0x1f2>
mov    -0xfc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xfc(%rbp)
jmp    1351 <main+0x201>
mov    -0xf8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf8(%rbp)
jmp    1356 <main+0x206>
jmp    135b <main+0x20b>
jmp    1360 <main+0x210>
jmp    1365 <main+0x215>
jmp    136a <main+0x21a>
jmp    136f <main+0x21f>
mov    -0x118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x118(%rbp)
jmp    121d <main+0xcd>
mov    $0x0,%al
call   1030 <line_printer@plt>
lea    0xcc1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x120(%rbp)
cmpl   $0x12,-0x120(%rbp)
jge    13da <main+0x28a>
mov    -0x120(%rbp),%esi
add    $0x1,%esi
lea    0xc9d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x120(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x120(%rbp)
jmp    13a2 <main+0x252>
mov    $0x0,%al
call   1030 <line_printer@plt>
lea    0xc78(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x124(%rbp)
cmpl   $0x12,-0x124(%rbp)
jge    1433 <main+0x2e3>
movslq -0x124(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%esi
lea    0xc44(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    13f9 <main+0x2a9>
mov    $0x0,%al
call   1030 <line_printer@plt>
lea    0xc29(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x128(%rbp)
cmpl   $0x12,-0x128(%rbp)
jge    148f <main+0x33f>
movslq -0x128(%rbp),%rax
mov    -0xa0(%rbp,%rax,4),%esi
lea    0xbe8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x128(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x128(%rbp)
jmp    1452 <main+0x302>
mov    $0x0,%al
call   1030 <line_printer@plt>
lea    0xbd7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x12c(%rbp)
cmpl   $0x12,-0x12c(%rbp)
jge    1507 <main+0x3b7>
movslq -0x12c(%rbp),%rax
mov    -0xf0(%rbp,%rax,4),%ecx
lea    0xbb3(%rip),%rdi
lea    0xba7(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
movslq -0x12c(%rbp),%rax
mov    -0xf0(%rbp,%rax,4),%esi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x12c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x12c(%rbp)
jmp    14ae <main+0x35e>
mov    $0x0,%al
call   1030 <line_printer@plt>
mov    -0x110(%rbp),%esi
lea    0xb6d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10c(%rbp),%esi
lea    0xb72(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x108(%rbp),%esi
lea    0xb74(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x104(%rbp),%esi
lea    0xb76(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x100(%rbp),%esi
lea    0xb77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xfc(%rbp),%esi
lea    0xb79(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xf8(%rbp),%esi
lea    0xb7d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movq   $0x0,0x50(%rsp)
lea    0x40(%rsp),%r15
lea    0x30(%rsp),%r13
lea    0x20(%rsp),%r14
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movq   $0x0,0xa0(%rsp)
lea    0xf2f(%rip),%rbx
movl   $0x0,(%rsp)
mov    $0x1,%r12d
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf13(%rip),%rbp
lea    0x10(%rsp),%rsi
mov    %rbp,%rdi
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>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1c(%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
mov    %r14,%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x28(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x2c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
mov    %r13,%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x38(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x44(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x48(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4c(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
lea    0x50(%rsp),%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x54(%rsp),%rsi
mov    %rbp,%rdi
call   1050 <scanf@plt>
mov    0x10(%rsp),%eax
mov    $0x0,%r14d
mov    $0x0,%r13d
mov    $0x0,%esi
mov    $0x0,%edx
mov    $0x0,%ecx
cmp    $0x2,%eax
jl     1425 <main+0x2f5>
add    $0xfffffffe,%eax
cmp    $0x4,%eax
ja     140c <main+0x2dc>
cltq
lea    0xc90(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,(%rsp)
lea    0xc97(%rip),%rcx
mov    (%rcx,%rax,4),%r14d
lea    0xca0(%rip),%rcx
mov    (%rcx,%rax,4),%r13d
lea    0xca9(%rip),%rcx
mov    (%rcx,%rax,4),%esi
lea    0xcb3(%rip),%rcx
mov    (%rcx,%rax,4),%edx
xor    %ecx,%ecx
jmp    1422 <main+0x2f2>
mov    $0x1,%ecx
movl   $0x0,(%rsp)
xor    %r14d,%r14d
xor    %r13d,%r13d
xor    %esi,%esi
xor    %edx,%edx
xor    %r12d,%r12d
mov    %esi,0x4(%rsp)
mov    %edx,0x8(%rsp)
mov    %ecx,0xc(%rsp)
mov    $0x1,%eax
mov    0x60(%rsp),%ecx
lea    0xbdf(%rip),%rdx
lea    0xbb8(%rip),%rsi
jmp    145e <main+0x32e>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r12d
add    $0x1,%rax
cmp    $0x12,%rax
je     14a8 <main+0x378>
mov    0x10(%rsp,%rax,4),%edi
sub    (%rdx,%rax,4),%edi
add    %edi,%ecx
mov    %ecx,0x60(%rsp,%rax,4)
cmp    $0xfffffffd,%edi
jle    1450 <main+0x320>
add    $0x2,%edi
cmp    $0x4,%edi
ja     1487 <main+0x357>
movslq (%rsi,%rdi,4),%rdi
add    %rsi,%rdi
jmp    *%rdi
addl   $0x1,(%rsp)
jmp    1454 <main+0x324>
addl   $0x1,0xc(%rsp)
jmp    1454 <main+0x324>
add    $0x1,%r14d
jmp    1454 <main+0x324>
add    $0x1,%r13d
jmp    1454 <main+0x324>
addl   $0x1,0x4(%rsp)
jmp    1454 <main+0x324>
addl   $0x1,0x8(%rsp)
jmp    1454 <main+0x324>
xor    %eax,%eax
call   1030 <line_printer@plt>
lea    0xc20(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc1c(%rip),%r15
mov    %r15,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1030 <line_printer@plt>
lea    0xb04(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1030 <line_printer@plt>
lea    0x9eb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x44(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x48(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4c(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x50(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x54(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1030 <line_printer@plt>
lea    0x8e4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x60(%rsp),%esi
test   %esi,%esi
lea    0x8df(%rip),%rbx
lea    0x8d3(%rip),%rbp
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x64(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x68(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x6c(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x70(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x74(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x78(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x7c(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x80(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x84(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x88(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8c(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x90(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x94(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x98(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x9c(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xa0(%rsp),%esi
test   %esi,%esi
mov    %rbp,%rdi
cmove  %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xa4(%rsp),%esi
test   %esi,%esi
cmove  %rbx,%rbp
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1030 <line_printer@plt>
lea    0x74f(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x757(%rip),%rdi
mov    (%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x75c(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x761(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x765(%rip),%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x769(%rip),%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x76f(%rip),%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@__const.main.par_score = [18 x i32] [i32 4, i32 5, i32 3, i32 4, i32 5, i32 4, i32 3, i32 4, i32 4, i32 4, i32 5, i32 3, i32 4, i32 4, i32 4, i32 5, i32 3, i32 4]
@.str = [7 x i8] c"[%2d] \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [10 x i8] c"Hole : \00"
@.str.3 = [4 x i8] c"%4d\00"
@.str.4 = [10 x i8] c"Par : \00"
@.str.5 = [10 x i8] c"Score : \00"
@.str.6 = [10 x i8] c"Status : \00"
@.str.7 = [5 x i8] c"%+4d\00"
@.str.8 = [5 x i8] c" E\00"
@.str.9 = [25 x i8] c" \EC\95\8C\EB\B0\94\ED\8A\B8\EB\A1\9C\EC\8A\A4 : %d\0A\00"
@.str.10 = [22 x i8] c" \EC\9D\B4\EA\B8\80 : %d\0A\00"
@.str.11 = [22 x i8] c" \EB\B2\84\EB\94\94 : %d\0A\00"
@.str.12 = [21 x i8] c" \ED\8C\8C : %d\0A\00"
@.str.13 = [22 x i8] c" \EB\B3\B4\EA\B8\B0 : %d\0A\00"
@.str.14 = [24 x i8] c" \EB\8D\94\EB\B8\94\EB\B3\B4\EA\B8\B0 : %d\0A\00"
@.str.15 = [25 x i8] c" \ED\8A\B8\EB\A6\AC\ED\94\8C\EB\B3\B4\EA\B8\B0+ : %d\0A\00"
@switch.table.main = [5 x i32] [i32 1, i32 0, i32 0, i32 0, i32 0]
@switch.table.main.16 = [5 x i32] [i32 0, i32 1, i32 0, i32 0, i32 0]
@switch.table.main.17 = [5 x i32] [i32 0, i32 0, i32 1, i32 0, i32 0]
@switch.table.main.18 = [5 x i32] [i32 0, i32 0, i32 0, i32 1, i32 0]
@switch.table.main.19 = [5 x i32] [i32 0, i32 0, i32 0, i32 0, i32 1]
define i32 @main() {
%1 = alloca [18 x i32]
%2 = alloca [18 x i32]
%3 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 0
%4 = bitcast [18 x i32]* %1 to i8*
%5 = bitcast [18 x i32]* %2 to i8*
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 1)
%7 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 0
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 2)
%10 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 1
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %10)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3)
%13 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 2
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %13)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 4)
%16 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 3
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %16)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%19 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 4
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %19)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%22 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 5
%23 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %22)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 7)
%25 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 6
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %25)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 8)
%28 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 7
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %28)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 9)
%31 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 8
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %31)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 10)
%34 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 9
%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 ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 11)
%37 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 10
%38 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %37)
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 12)
%40 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 11
%41 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %40)
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 13)
%43 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 12
%44 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %43)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 14)
%46 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 13
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %46)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 15)
%49 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 14
%50 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %49)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 16)
%52 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 15
%53 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %52)
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 17)
%55 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 16
%56 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %55)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 18)
%58 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 17
%59 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %58)
%60 = load i32, i32* %7
%61 = icmp slt i32 %60, 2
br i1 %61, label %81, label %62
62: ; preds = %0
%63 = add i32 %60, -2
%64 = icmp ult i32 %63, 5
br i1 %64, label %65, label %81
65: ; preds = %62
%66 = sext i32 %63 to i64
%67 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.main, i64 0, i64 %66
%68 = load i32, i32* %67
%69 = sext i32 %63 to i64
%70 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.main.16, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = sext i32 %63 to i64
%73 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.main.17, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = sext i32 %63 to i64
%76 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.main.18, i64 0, i64 %75
%77 = load i32, i32* %76
%78 = sext i32 %63 to i64
%79 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.main.19, i64 0, i64 %78
%80 = load i32, i32* %79
br label %81
81: ; preds = %62, %65, %0
%82 = phi i32 [ 0, %0 ], [ %68, %65 ], [ 0, %62 ]
%83 = phi i32 [ 0, %0 ], [ %71, %65 ], [ 0, %62 ]
%84 = phi i32 [ 0, %0 ], [ %74, %65 ], [ 0, %62 ]
%85 = phi i32 [ 0, %0 ], [ %77, %65 ], [ 0, %62 ]
%86 = phi i32 [ 0, %0 ], [ %80, %65 ], [ 0, %62 ]
%87 = phi i32 [ 0, %0 ], [ 0, %65 ], [ 1, %62 ]
%88 = phi i32 [ 1, %0 ], [ 0, %65 ], [ 0, %62 ]
%89 = load i32, i32* %3
br label %269
90: ; preds = %302
%91 = call i32 (...) @line_printer()
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 1)
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 2)
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%97 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 5)
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 6)
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 7)
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 8)
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 9)
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 10)
%103 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 11)
%104 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 12)
%105 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 13)
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 14)
%107 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 15)
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 16)
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 17)
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 18)
%111 = call i32 (...) @line_printer()
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 5)
%115 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%116 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%117 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 5)
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%121 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 5)
%124 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%125 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%126 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%127 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%128 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 5)
%129 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 3)
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%131 = call i32 (...) @line_printer()
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%133 = load i32, i32* %7
%134 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %133)
%135 = load i32, i32* %10
%136 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %135)
%137 = load i32, i32* %13
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %137)
%139 = load i32, i32* %16
%140 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %139)
%141 = load i32, i32* %19
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %141)
%143 = load i32, i32* %22
%144 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %143)
%145 = load i32, i32* %25
%146 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %145)
%147 = load i32, i32* %28
%148 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %147)
%149 = load i32, i32* %31
%150 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %149)
%151 = load i32, i32* %34
%152 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %151)
%153 = load i32, i32* %37
%154 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %153)
%155 = load i32, i32* %40
%156 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %155)
%157 = load i32, i32* %43
%158 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %157)
%159 = load i32, i32* %46
%160 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %159)
%161 = load i32, i32* %49
%162 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %161)
%163 = load i32, i32* %52
%164 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %163)
%165 = load i32, i32* %55
%166 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %165)
%167 = load i32, i32* %58
%168 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %167)
%169 = call i32 (...) @line_printer()
%170 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%171 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 0
%172 = load i32, i32* %171
%173 = icmp eq i32 %172, 0
%174 = select i1 %173, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%175 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %174, i32 %172)
%176 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 1
%177 = load i32, i32* %176
%178 = icmp eq i32 %177, 0
%179 = select i1 %178, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%180 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %179, i32 %177)
%181 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 2
%182 = load i32, i32* %181
%183 = icmp eq i32 %182, 0
%184 = select i1 %183, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%185 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %184, i32 %182)
%186 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 3
%187 = load i32, i32* %186
%188 = icmp eq i32 %187, 0
%189 = select i1 %188, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%190 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %189, i32 %187)
%191 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 4
%192 = load i32, i32* %191
%193 = icmp eq i32 %192, 0
%194 = select i1 %193, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%195 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %194, i32 %192)
%196 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 5
%197 = load i32, i32* %196
%198 = icmp eq i32 %197, 0
%199 = select i1 %198, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%200 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %199, i32 %197)
%201 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 6
%202 = load i32, i32* %201
%203 = icmp eq i32 %202, 0
%204 = select i1 %203, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%205 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %204, i32 %202)
%206 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 7
%207 = load i32, i32* %206
%208 = icmp eq i32 %207, 0
%209 = select i1 %208, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%210 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %209, i32 %207)
%211 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 8
%212 = load i32, i32* %211
%213 = icmp eq i32 %212, 0
%214 = select i1 %213, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%215 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %214, i32 %212)
%216 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 9
%217 = load i32, i32* %216
%218 = icmp eq i32 %217, 0
%219 = select i1 %218, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%220 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %219, i32 %217)
%221 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 10
%222 = load i32, i32* %221
%223 = icmp eq i32 %222, 0
%224 = select i1 %223, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%225 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %224, i32 %222)
%226 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 11
%227 = load i32, i32* %226
%228 = icmp eq i32 %227, 0
%229 = select i1 %228, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%230 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %229, i32 %227)
%231 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 12
%232 = load i32, i32* %231
%233 = icmp eq i32 %232, 0
%234 = select i1 %233, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%235 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %234, i32 %232)
%236 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 13
%237 = load i32, i32* %236
%238 = icmp eq i32 %237, 0
%239 = select i1 %238, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%240 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %239, i32 %237)
%241 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 14
%242 = load i32, i32* %241
%243 = icmp eq i32 %242, 0
%244 = select i1 %243, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%245 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %244, i32 %242)
%246 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 15
%247 = load i32, i32* %246
%248 = icmp eq i32 %247, 0
%249 = select i1 %248, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%250 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %249, i32 %247)
%251 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 16
%252 = load i32, i32* %251
%253 = icmp eq i32 %252, 0
%254 = select i1 %253, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%255 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %254, i32 %252)
%256 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 17
%257 = load i32, i32* %256
%258 = icmp eq i32 %257, 0
%259 = select i1 %258, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%260 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %259, i32 %257)
%261 = call i32 (...) @line_printer()
%262 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %309)
%263 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), i32 %303)
%264 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), i32 %304)
%265 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), i32 %305)
%266 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i32 %306)
%267 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), i32 %307)
%268 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i32 %308)
ret i32 0
269: ; preds = %81, %302
%270 = phi i32 [ %89, %81 ], [ %284, %302 ]
%271 = phi i64 [ 1, %81 ], [ %310, %302 ]
%272 = phi i32 [ %88, %81 ], [ %309, %302 ]
%273 = phi i32 [ %87, %81 ], [ %308, %302 ]
%274 = phi i32 [ %86, %81 ], [ %307, %302 ]
%275 = phi i32 [ %85, %81 ], [ %306, %302 ]
%276 = phi i32 [ %84, %81 ], [ %305, %302 ]
%277 = phi i32 [ %83, %81 ], [ %304, %302 ]
%278 = phi i32 [ %82, %81 ], [ %303, %302 ]
%279 = getelementptr inbounds [18 x i32], [18 x i32]* %1, i64 0, i64 %271
%280 = load i32, i32* %279
%281 = getelementptr inbounds [18 x i32], [18 x i32]* @__const.main.par_score, i64 0, i64 %271
%282 = load i32, i32* %281
%283 = sub nsw i32 %280, %282
%284 = add nsw i32 %270, %283
%285 = getelementptr inbounds [18 x i32], [18 x i32]* %2, i64 0, i64 %271
store i32 %284, i32* %285
%286 = icmp slt i32 %283, -2
br i1 %286, label %287, label %289
287: ; preds = %269
%288 = add nsw i32 %272, 1
br label %302
289: ; preds = %269
switch i32 %283, label %300 [
i32 -2, label %290
i32 -1, label %292
i32 0, label %294
i32 1, label %296
i32 2, label %298
]
290: ; preds = %289
%291 = add nsw i32 %278, 1
br label %302
292: ; preds = %289
%293 = add nsw i32 %277, 1
br label %302
294: ; preds = %289
%295 = add nsw i32 %276, 1
br label %302
296: ; preds = %289
%297 = add nsw i32 %275, 1
br label %302
298: ; preds = %289
%299 = add nsw i32 %274, 1
br label %302
300: ; preds = %289
%301 = add nsw i32 %273, 1
br label %302
302: ; preds = %290, %294, %298, %300, %296, %292, %287
%303 = phi i32 [ %278, %287 ], [ %291, %290 ], [ %278, %292 ], [ %278, %294 ], [ %278, %296 ], [ %278, %298 ], [ %278, %300 ]
%304 = phi i32 [ %277, %287 ], [ %277, %290 ], [ %293, %292 ], [ %277, %294 ], [ %277, %296 ], [ %277, %298 ], [ %277, %300 ]
%305 = phi i32 [ %276, %287 ], [ %276, %290 ], [ %276, %292 ], [ %295, %294 ], [ %276, %296 ], [ %276, %298 ], [ %276, %300 ]
%306 = phi i32 [ %275, %287 ], [ %275, %290 ], [ %275, %292 ], [ %275, %294 ], [ %297, %296 ], [ %275, %298 ], [ %275, %300 ]
%307 = phi i32 [ %274, %287 ], [ %274, %290 ], [ %274, %292 ], [ %274, %294 ], [ %274, %296 ], [ %299, %298 ], [ %274, %300 ]
%308 = phi i32 [ %273, %287 ], [ %273, %290 ], [ %273, %292 ], [ %273, %294 ], [ %273, %296 ], [ %273, %298 ], [ %301, %300 ]
%309 = phi i32 [ %288, %287 ], [ %272, %290 ], [ %272, %292 ], [ %272, %294 ], [ %272, %296 ], [ %272, %298 ], [ %272, %300 ]
%310 = add nuw nsw i64 %271, 1
%311 = icmp eq i64 %310, 18
br i1 %311, label %90, label %269
}