#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*/ free(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int solve(char **, int);
size_t strlen(char *);
int main(int argc, char **argv) {
  int num_tests, test = 0, ret = 1;
  int i, j, n, round;
  size_t this_len;
  char *strings[100];
  scanf("%d", &num_tests);
  if (num_tests < 1 || num_tests > 100) {
    printf("Illegal number of tests (1 <= T <= 100)\n");
    goto out;
  }
top:
  while (test++ < num_tests) {
    scanf("%d", &n);
    if (n < 2 || n > 100) {
      printf("ERROR\n");
      continue;
    }
    for (i = 0; i < n; i++) {
      scanf("%ms", &strings[i]);
      if (!strings[i]) {
        printf("ERROR\n");
        for (j = 0; j < i; j++)
          free(strings[j]);
        goto top;
      }
      this_len = strlen(strings[i]);
      if (this_len > 100) {
        printf("1 <= len <= 100\n");
        for (j = 0; j < i; j++)
          free(strings[j]);
        goto top;
      }
      strings[i][this_len] = 0;
    }
    round = solve(strings, n);
    printf("Case #%d: ", test);
    if (round < 0)
      printf("Fegla Won\n");
    else
      printf("%d\n", round);
    for (i = 0; i < n; i++)
      free(strings[i]);
  }
  ret = 0;
out:
  return ret;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x360,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x1,-0x1c(%rbp)
lea    0xe82(%rip),%rdi
lea    -0x14(%rbp),%rsi
mov    $0x0,%al
call   1070 <scanf@plt>
cmpl   $0x1,-0x14(%rbp)
jl     119d <main+0x4d>
cmpl   $0x64,-0x14(%rbp)
jle    11b0 <main+0x60>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13a8 <main+0x258>
jmp    11b5 <main+0x65>
jmp    11ba <main+0x6a>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
cmp    -0x14(%rbp),%eax
jge    13a1 <main+0x251>
lea    0xe2b(%rip),%rdi
lea    -0x28(%rbp),%rsi
mov    $0x0,%al
call   1070 <scanf@plt>
cmpl   $0x2,-0x28(%rbp)
jl     11f4 <main+0xa4>
cmpl   $0x64,-0x28(%rbp)
jle    1207 <main+0xb7>
lea    0xe31(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11ba <main+0x6a>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1319 <main+0x1c9>
movslq -0x20(%rbp),%rax
lea    -0x360(%rbp),%rsi
shl    $0x3,%rax
add    %rax,%rsi
lea    0xe00(%rip),%rdi
mov    $0x0,%al
call   1070 <scanf@plt>
movslq -0x20(%rbp),%rax
cmpq   $0x0,-0x360(%rbp,%rax,8)
jne    1292 <main+0x142>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    128d <main+0x13d>
movslq -0x24(%rbp),%rax
mov    -0x360(%rbp,%rax,8),%rdi
ff
call   1040 <free@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1262 <main+0x112>
jmp    11b5 <main+0x65>
movslq -0x20(%rbp),%rax
mov    -0x360(%rbp,%rax,8),%rdi
ff
call   1050 <strlen@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x64,-0x38(%rbp)
jbe    12f7 <main+0x1a7>
lea    0xd7e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    12f2 <main+0x1a2>
movslq -0x24(%rbp),%rax
mov    -0x360(%rbp,%rax,8),%rdi
ff
call   1040 <free@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12c7 <main+0x177>
jmp    11b5 <main+0x65>
movslq -0x20(%rbp),%rax
mov    -0x360(%rbp,%rax,8),%rax
ff
mov    -0x38(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    120e <main+0xbe>
lea    -0x360(%rbp),%rdi
mov    -0x28(%rbp),%esi
call   1030 <solve@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%esi
lea    0xd13(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
cmpl   $0x0,-0x2c(%rbp)
jge    1359 <main+0x209>
lea    0xd06(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    136a <main+0x21a>
mov    -0x2c(%rbp),%esi
lea    0xcfb(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    139c <main+0x24c>
movslq -0x20(%rbp),%rax
mov    -0x360(%rbp,%rax,8),%rdi
ff
call   1040 <free@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1371 <main+0x221>
jmp    11ba <main+0x6a>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x360,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x338,%rsp
lea    0xe88(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1080 <scanf@plt>
mov    0xc(%rsp),%eax
add    $0xffffff9b,%eax
cmp    $0xffffff9c,%eax
jae    11a6 <main+0x46>
lea    0xe9f(%rip),%rdi
call   1050 <puts@plt>
mov    $0x1,%eax
jmp    134f <main+0x1ef>
mov    $0x1,%r15d
lea    0xe4d(%rip),%r14
lea    0x8(%rsp),%rbx
lea    0xe44(%rip),%r13
jmp    11e7 <main+0x87>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
cmp    0xc(%rsp),%r15d
mov    %rbx,%r14
lea    0x8(%rsp),%rbx
jge    134d <main+0x1ed>
add    $0x1,%r15d
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <scanf@plt>
mov    0x8(%rsp),%eax
add    $0xffffff9b,%eax
cmp    $0xffffff9d,%eax
jae    1220 <main+0xc0>
lea    0xe29(%rip),%rdi
call   1050 <puts@plt>
cmp    0xc(%rsp),%r15d
jl     11e3 <main+0x83>
jmp    134d <main+0x1ed>
nopl   0x0(%rax,%rax,1)
mov    %r14,%rbx
xor    %r12d,%r12d
xor    %r14d,%r14d
nopl   0x0(%rax)
lea    (%rsp,%r12,1),%rsi
add    $0x10,%rsi
mov    %r13,%rdi
xor    %eax,%eax
call   1080 <scanf@plt>
mov    0x10(%rsp,%r14,8),%rbp
test   %rbp,%rbp
je     12a4 <main+0x144>
mov    %rbp,%rdi
call   1060 <strlen@plt>
cmp    $0x65,%rax
jae    12d8 <main+0x178>
movb   $0x0,0x0(%rbp,%rax,1)
add    $0x1,%r14
movslq 0x8(%rsp),%rsi
add    $0x8,%r12
cmp    %rsi,%r14
jl     1230 <main+0xd0>
lea    0x10(%rsp),%rdi
call   1030 <solve@plt>
mov    %eax,%ebp
lea    0xd83(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1070 <printf@plt>
test   %ebp,%ebp
js     1308 <main+0x1a8>
lea    0xd79(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    1314 <main+0x1b4>
lea    0xd85(%rip),%rdi
call   1050 <puts@plt>
test   %r14d,%r14d
je     11d0 <main+0x70>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp,%rbp,1),%rdi
call   1040 <free@plt>
add    $0x8,%rbp
cmp    %rbp,%r12
jne    12c0 <main+0x160>
jmp    11d0 <main+0x70>
lea    0xd41(%rip),%rdi
call   1050 <puts@plt>
test   %r14d,%r14d
je     11d0 <main+0x70>
xor    %ebp,%ebp
nop
mov    0x10(%rsp,%rbp,1),%rdi
call   1040 <free@plt>
add    $0x8,%rbp
cmp    %rbp,%r12
jne    12f0 <main+0x190>
jmp    11d0 <main+0x70>
lea    0xd07(%rip),%rdi
call   1050 <puts@plt>
mov    %rbx,%r14
lea    0x8(%rsp),%rbx
cmpl   $0x0,0x8(%rsp)
jle    120c <main+0xac>
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    0x10(%rsp,%rbp,8),%rdi
call   1040 <free@plt>
add    $0x1,%rbp
movslq 0x8(%rsp),%rax
cmp    %rax,%rbp
jl     1330 <main+0x1d0>
jmp    120c <main+0xac>
xor    %eax,%eax
add    $0x338,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.3 = [4 x i8] c"%ms\00"
@.str.5 = [11 x i8] c"Case #%d: \00"
@.str.7 = [4 x i8] c"%d\0A\00"
@str = [10 x i8] c"Fegla Won\00"
@str.9 = [16 x i8] c"1 <= len <= 100\00"
@str.10 = [6 x i8] c"ERROR\00"
@str.11 = [40 x i8] c"Illegal number of tests (1 <= T <= 100)\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [100 x i8*]
%6 = bitcast i32* %3 to i8*
%7 = bitcast i32* %4 to i8*
%8 = bitcast [100 x i8*]* %5 to i8*
%9 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %3)
%10 = load i32, i32* %3
%11 = add i32 %10, -101
%12 = icmp ult i32 %11, -100
br i1 %12, label %15, label %13
13: ; preds = %2
%14 = getelementptr inbounds [100 x i8*], [100 x i8*]* %5, i64 0, i64 0
br label %20
15: ; preds = %2
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.11, i64 0, i64 0))
br label %94
17: ; preds = %61, %45, %55, %39
%18 = load i32, i32* %3
%19 = icmp slt i32 %21, %18
br i1 %19, label %31, label %94
20: ; preds = %31, %13
%21 = phi i32 [ 1, %13 ], [ %32, %31 ]
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%23 = load i32, i32* %4
%24 = add i32 %23, -101
%25 = icmp ult i32 %24, -99
br i1 %25, label %26, label %33
26: ; preds = %20
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.10, i64 0, i64 0))
br label %28
28: ; preds = %85, %82, %26
%29 = load i32, i32* %3
%30 = icmp slt i32 %21, %29
br i1 %30, label %31, label %94
31: ; preds = %28, %17
%32 = add nuw nsw i32 %21, 1
br label %20
33: ; preds = %20, %68
%34 = phi i64 [ %70, %68 ], [ 0, %20 ]
%35 = getelementptr inbounds [100 x i8*], [100 x i8*]* %5, i64 0, i64 %34
%36 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8** %35)
%37 = load i8*, i8** %35
%38 = icmp eq i8* %37, null
br i1 %38, label %39, label %52
39: ; preds = %33
%40 = trunc i64 %34 to i32
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.10, i64 0, i64 0))
%42 = icmp eq i32 %40, 0
br i1 %42, label %17, label %43
43: ; preds = %39
%44 = and i64 %34, 4294967295
br label %45
45: ; preds = %43, %45
%46 = phi i64 [ 0, %43 ], [ %50, %45 ]
%47 = getelementptr inbounds [100 x i8*], [100 x i8*]* %5, i64 0, i64 %46
%48 = load i8*, i8** %47
%49 = call i32 @free(i8* %48)
%50 = add nuw nsw i64 %46, 1
%51 = icmp eq i64 %50, %44
br i1 %51, label %17, label %45
52: ; preds = %33
%53 = call i64 @strlen(i8* %37)
%54 = icmp ugt i64 %53, 100
br i1 %54, label %55, label %68
55: ; preds = %52
%56 = trunc i64 %34 to i32
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.9, i64 0, i64 0))
%58 = icmp eq i32 %56, 0
br i1 %58, label %17, label %59
59: ; preds = %55
%60 = and i64 %34, 4294967295
br label %61
61: ; preds = %59, %61
%62 = phi i64 [ 0, %59 ], [ %66, %61 ]
%63 = getelementptr inbounds [100 x i8*], [100 x i8*]* %5, i64 0, i64 %62
%64 = load i8*, i8** %63
%65 = call i32 @free(i8* %64)
%66 = add nuw nsw i64 %62, 1
%67 = icmp eq i64 %66, %60
br i1 %67, label %17, label %61
68: ; preds = %52
%69 = getelementptr inbounds i8, i8* %37, i64 %53
store i8 0, i8* %69
%70 = add nuw nsw i64 %34, 1
%71 = load i32, i32* %4
%72 = sext i32 %71 to i64
%73 = icmp slt i64 %70, %72
br i1 %73, label %33, label %74
74: ; preds = %68
%75 = call i32 @solve(i8** %14, i32 %71)
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %21)
%77 = icmp slt i32 %75, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
br label %82
80: ; preds = %74
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %75)
br label %82
82: ; preds = %80, %78
%83 = load i32, i32* %4
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %28
85: ; preds = %82, %85
%86 = phi i64 [ %90, %85 ], [ 0, %82 ]
%87 = getelementptr inbounds [100 x i8*], [100 x i8*]* %5, i64 0, i64 %86
%88 = load i8*, i8** %87
%89 = call i32 @free(i8* %88)
%90 = add nuw nsw i64 %86, 1
%91 = load i32, i32* %4
%92 = sext i32 %91 to i64
%93 = icmp slt i64 %90, %92
br i1 %93, label %85, label %28
94: ; preds = %17, %28, %15
%95 = phi i32 [ 1, %15 ], [ 0, %28 ], [ 0, %17 ]
ret i32 %95
}