#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*/ fclose(int /*<<< orphan*/);
scalar_t__ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ freopen(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char);
int /*<<< orphan*/ scanf(char *, char **);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
int strlen(char *);
char tolower(char);
char toupper(char);
int main() {
  int wlength, llength, i, j, yes, tmp;
  char word[100];
  char line[300];
  scanf("%s", &word);
  freopen("filein.txt", "r", stdin);
  freopen("fileout.txt", "w", stdout);
  while (fgets(line, 300, stdin)) {
    llength = strlen(line);
    while (line[0] == ' ' || line[0] == '\t') {
      for (j = 1; j < llength; j++)
        line[j - 1] = line[j];
      llength--;
    }
    i = 0;
    wlength = strlen(word);
    tmp = -1;
    for (i = 0; i < llength; i++) {
      yes = 0;
      for (j = 0; j < wlength; j++) {
        if (i + j > llength)
          break;
        if (line[i + j] == tolower(word[j]) || line[i + j] == toupper(word[j]))
          yes++;
        else
          break;
      }
      if (yes == wlength) {
        i = i + wlength - 1;
        if (line[i + 1] == ' ')
          i++;
      } else {
        printf("%c", line[i]);
      }
    }
  }
  fclose(stdin);
  fclose(stdout);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x80(%rbp),%rsi
lea    0xe63(%rip),%rdi
call   10a0 <scanf@plt>
mov    0x2e3f(%rip),%rax
mov    (%rax),%edx
lea    0xe51(%rip),%rdi
lea    0xe55(%rip),%rsi
call   1070 <freopen@plt>
mov    0x2e13(%rip),%rax
mov    (%rax),%edx
lea    0xe42(%rip),%rdi
lea    0xe47(%rip),%rsi
call   1070 <freopen@plt>
lea    -0x1b0(%rbp),%rdi
mov    0x2e00(%rip),%rax
mov    (%rax),%edx
mov    $0x12c,%esi
call   1080 <fgets@plt>
cmp    $0x0,%rax
je     13f2 <main+0x272>
lea    -0x1b0(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0xc(%rbp)
movsbl -0x1b0(%rbp),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0x1b1(%rbp)
je     1238 <main+0xb8>
movsbl -0x1b0(%rbp),%eax
cmp    $0x9,%eax
sete   %al
mov    %al,-0x1b1(%rbp)
mov    -0x1b1(%rbp),%al
test   $0x1,%al
jne    124b <main+0xcb>
jmp    1294 <main+0x114>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1286 <main+0x106>
movslq -0x14(%rbp),%rax
mov    -0x1b0(%rbp,%rax,1),%cl
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,-0x1b0(%rbp,%rax,1)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1252 <main+0xd2>
mov    -0xc(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0xc(%rbp)
jmp    120d <main+0x8d>
movl   $0x0,-0x10(%rbp)
lea    -0x80(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x8(%rbp)
movl   $0xffffffff,-0x1c(%rbp)
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    13ed <main+0x26d>
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1383 <main+0x203>
mov    -0x10(%rbp),%eax
add    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jle    12ef <main+0x16f>
jmp    1383 <main+0x203>
mov    -0x10(%rbp),%eax
add    -0x14(%rbp),%eax
cltq
movsbl -0x1b0(%rbp,%rax,1),%eax
ff
mov    %eax,-0x1b8(%rbp)
movslq -0x14(%rbp),%rax
movsbl -0x80(%rbp,%rax,1),%edi
call   1090 <tolower@plt>
mov    %al,%cl
mov    -0x1b8(%rbp),%eax
movsbl %cl,%ecx
cmp    %ecx,%eax
je     135d <main+0x1dd>
mov    -0x10(%rbp),%eax
add    -0x14(%rbp),%eax
cltq
movsbl -0x1b0(%rbp,%rax,1),%eax
ff
mov    %eax,-0x1bc(%rbp)
movslq -0x14(%rbp),%rax
movsbl -0x80(%rbp,%rax,1),%edi
call   1030 <toupper@plt>
mov    %al,%cl
mov    -0x1bc(%rbp),%eax
movsbl %cl,%ecx
cmp    %ecx,%eax
jne    136b <main+0x1eb>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1370 <main+0x1f0>
jmp    1383 <main+0x203>
jmp    1375 <main+0x1f5>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12cf <main+0x14f>
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    13c2 <main+0x242>
mov    -0x10(%rbp),%eax
add    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
cltq
movsbl -0x1b0(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
jne    13bd <main+0x23d>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    13da <main+0x25a>
movslq -0x10(%rbp),%rax
lea    0xc51(%rip),%rdi
movsbl -0x1b0(%rbp,%rax,1),%esi
ff
call   1060 <printf@plt>
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12b5 <main+0x135>
jmp    11da <main+0x5a>
mov    0x2bef(%rip),%rax
mov    (%rax),%edi
call   1040 <fclose@plt>
mov    0x2bd1(%rip),%rax
mov    (%rax),%edi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c8,%rsp
lea    0xe58(%rip),%rdi
lea    0x20(%rsp),%rsi
call   10a0 <scanf@plt>
mov    0x2e2f(%rip),%rbx
mov    (%rbx),%edx
lea    0xe41(%rip),%rdi
lea    0xe45(%rip),%rsi
call   1070 <freopen@plt>
mov    0x2e03(%rip),%rax
mov    (%rax),%edx
lea    0xe32(%rip),%rdi
lea    0xe37(%rip),%rsi
call   1070 <freopen@plt>
mov    (%rbx),%edx
lea    0x90(%rsp),%rdi
mov    $0x12c,%esi
call   1080 <fgets@plt>
test   %rax,%rax
je     1384 <main+0x1f4>
lea    0x91(%rsp),%r15
lea    0x90(%rsp),%r14
jmp    124f <main+0xbf>
nopl   0x0(%rax)
mov    0x2dc1(%rip),%rax
mov    (%rax),%edx
lea    0x90(%rsp),%r14
mov    %r14,%rdi
mov    $0x12c,%esi
call   1080 <fgets@plt>
test   %rax,%rax
lea    0x91(%rsp),%r15
je     1384 <main+0x1f4>
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebp
jmp    1262 <main+0xd2>
nopl   0x0(%rax,%rax,1)
mov    %ebx,%ebp
movzbl 0x90(%rsp),%eax
cmp    $0x20,%al
je     1272 <main+0xe2>
cmp    $0x9,%al
jne    1290 <main+0x100>
lea    -0x1(%rbp),%ebx
cmp    $0x2,%ebp
jl     1260 <main+0xd0>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   10b0 <memmove@plt>
jmp    1260 <main+0xd0>
nopw   0x0(%rax,%rax,1)
lea    0x20(%rsp),%rdi
call   1050 <strlen@plt>
mov    %eax,0xc(%rsp)
test   %ebp,%ebp
jle    1220 <main+0x90>
mov    %ebp,%ebx
mov    0xc(%rsp),%eax
mov    %rax,0x18(%rsp)
xor    %r14d,%r14d
mov    %rbp,0x10(%rsp)
jmp    12eb <main+0x15b>
nopl   0x0(%rax,%rax,1)
add    0xc(%rsp),%r14d
movslq %r14d,%r14
xor    %eax,%eax
cmpb   $0x20,0x90(%rsp,%r14,1)
setne  %al
sub    %eax,%r14d
add    $0x1,%r14d
mov    0x10(%rsp),%rbp
cmp    %ebp,%r14d
jge    1220 <main+0x90>
movslq %r14d,%r13
mov    $0x0,%ebp
cmpl   $0x0,0xc(%rsp)
jle    1360 <main+0x1d0>
lea    (%rsp,%r13,1),%r12
add    $0x90,%r12
xor    %ebp,%ebp
jmp    131b <main+0x18b>
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    %rbp,0x18(%rsp)
je     12c0 <main+0x130>
mov    %r13,%rax
add    %rbp,%rax
cmp    %rbx,%rax
jg     1360 <main+0x1d0>
movzbl (%r12,%rbp,1),%r15d
movsbl 0x20(%rsp,%rbp,1),%edi
call   1090 <tolower@plt>
cmp    %al,%r15b
je     1310 <main+0x180>
mov    %rbx,%r15
movzbl (%r12,%rbp,1),%ebx
movsbl 0x20(%rsp,%rbp,1),%edi
call   1030 <toupper@plt>
cmp    %al,%bl
mov    %r15,%rbx
je     1310 <main+0x180>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cmp    0xc(%rsp),%ebp
je     12c0 <main+0x130>
movsbl 0x90(%rsp,%r13,1),%esi
lea    0xca4(%rip),%rdi
call   1060 <printf@plt>
jmp    12d9 <main+0x149>
mov    0x2c5d(%rip),%rax
mov    (%rax),%edi
call   1040 <fclose@plt>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [11 x i8] c"filein.txt\00"
@.str.2 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.3 = [12 x i8] c"fileout.txt\00"
@.str.4 = [2 x i8] c"w\00"
@stdout = global i32 0
@.str.5 = [3 x i8] c"%c\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca [100 x i8]
%9 = alloca [300 x i8]
store i32 0, i32* %1
%10 = bitcast [100 x i8]* %8 to i8**
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8** %10)
%12 = load i32, i32* @stdin
%13 = call i32 @freopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @stdout
%15 = call i32 @freopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i32 %14)
br label %16
16: ; preds = %143, %0
%17 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 0
%18 = load i32, i32* @stdin
%19 = call i64 @fgets(i8* %17, i32 300, i32 %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %144
21: ; preds = %16
%22 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 0
%23 = call i32 @strlen(i8* %22)
store i32 %23, i32* %3
br label %24
24: ; preds = %53, %21
%25 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 0
%26 = load i8, i8* %25
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 32
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 0
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 9
br label %34
34: ; preds = %29, %24
%35 = phi i1 [ true, %24 ], [ %33, %29 ]
br i1 %35, label %36, label %56
36: ; preds = %34
store i32 1, i32* %5
br label %37
37: ; preds = %50, %36
%38 = load i32, i32* %5
%39 = load i32, i32* %3
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = load i32, i32* %5
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %43
%45 = load i8, i8* %44
%46 = load i32, i32* %5
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %48
store i8 %45, i8* %49
br label %50
50: ; preds = %41
%51 = load i32, i32* %5
%52 = add nsw i32 %51, 1
store i32 %52, i32* %5
br label %37
53: ; preds = %37
%54 = load i32, i32* %3
%55 = add nsw i32 %54, -1
store i32 %55, i32* %3
br label %24
56: ; preds = %34
store i32 0, i32* %4
%57 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%58 = call i32 @strlen(i8* %57)
store i32 %58, i32* %2
store i32 -1, i32* %7
store i32 0, i32* %4
br label %59
59: ; preds = %140, %56
%60 = load i32, i32* %4
%61 = load i32, i32* %3
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %143
63: ; preds = %59
store i32 0, i32* %6
store i32 0, i32* %5
br label %64
64: ; preds = %110, %63
%65 = load i32, i32* %5
%66 = load i32, i32* %2
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %113
68: ; preds = %64
%69 = load i32, i32* %4
%70 = load i32, i32* %5
%71 = add nsw i32 %69, %70
%72 = load i32, i32* %3
%73 = icmp sgt i32 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %68
br label %113
75: ; preds = %68
%76 = load i32, i32* %4
%77 = load i32, i32* %5
%78 = add nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %79
%81 = load i8, i8* %80
%82 = sext i8 %81 to i32
%83 = load i32, i32* %5
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 %84
%86 = load i8, i8* %85
%87 = call signext i8 @tolower(i8 signext %86)
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %82, %88
br i1 %89, label %105, label %90
90: ; preds = %75
%91 = load i32, i32* %4
%92 = load i32, i32* %5
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %94
%96 = load i8, i8* %95
%97 = sext i8 %96 to i32
%98 = load i32, i32* %5
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 %99
%101 = load i8, i8* %100
%102 = call signext i8 @toupper(i8 signext %101)
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %97, %103
br i1 %104, label %105, label %108
105: ; preds = %90, %75
%106 = load i32, i32* %6
%107 = add nsw i32 %106, 1
store i32 %107, i32* %6
br label %109
108: ; preds = %90
br label %113
109: ; preds = %105
br label %110
110: ; preds = %109
%111 = load i32, i32* %5
%112 = add nsw i32 %111, 1
store i32 %112, i32* %5
br label %64
113: ; preds = %108, %74, %64
%114 = load i32, i32* %6
%115 = load i32, i32* %2
%116 = icmp eq i32 %114, %115
br i1 %116, label %117, label %133
117: ; preds = %113
%118 = load i32, i32* %4
%119 = load i32, i32* %2
%120 = add nsw i32 %118, %119
%121 = sub nsw i32 %120, 1
store i32 %121, i32* %4
%122 = load i32, i32* %4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %124
%126 = load i8, i8* %125
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 32
br i1 %128, label %129, label %132
129: ; preds = %117
%130 = load i32, i32* %4
%131 = add nsw i32 %130, 1
store i32 %131, i32* %4
br label %132
132: ; preds = %129, %117
br label %139
133: ; preds = %113
%134 = load i32, i32* %4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [300 x i8], [300 x i8]* %9, i64 0, i64 %135
%137 = load i8, i8* %136
%138 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8 signext %137)
br label %139
139: ; preds = %133, %132
br label %140
140: ; preds = %139
%141 = load i32, i32* %4
%142 = add nsw i32 %141, 1
store i32 %142, i32* %4
br label %59
143: ; preds = %59
br label %16
144: ; preds = %16
%145 = load i32, i32* @stdin
%146 = call i32 @fclose(i32 %145)
%147 = load i32, i32* @stdout
%148 = call i32 @fclose(i32 %147)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [11 x i8] c"filein.txt\00"
@.str.2 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.3 = [12 x i8] c"fileout.txt\00"
@.str.4 = [2 x i8] c"w\00"
@stdout = global i32 0
@.str.5 = [3 x i8] c"%c\00"
define i32 @main() {
%1 = alloca [100 x i8]
%2 = alloca [300 x i8]
%3 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 0
%4 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 0
%6 = bitcast [100 x i8]* %1 to i8**
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8** %6)
%8 = load i32, i32* @stdin
%9 = call i32 @freopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @stdout
%11 = call i32 @freopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @stdin
%13 = call i64 @fgets(i8* %5, i32 300, i32 %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label %88, label %15
15: ; preds = %0
%16 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 1
br label %21
17: ; preds = %84, %36
%18 = load i32, i32* @stdin
%19 = call i64 @fgets(i8* %5, i32 300, i32 %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %88, label %21
21: ; preds = %15, %17
%22 = call i32 @strlen(i8* %5)
br label %23
23: ; preds = %33, %21
%24 = phi i32 [ %35, %33 ], [ 0, %21 ]
%25 = phi i32 [ %34, %33 ], [ %22, %21 ]
%26 = xor i32 %24, -1
%27 = add i32 %22, %26
%28 = zext i32 %27 to i64
%29 = load i8, i8* %5
switch i8 %29, label %36 [
i8 32, label %30
i8 9, label %30
]
30: ; preds = %23, %23
%31 = icmp sgt i32 %25, 1
br i1 %31, label %32, label %33
32: ; preds = %30
br label %33
33: ; preds = %32, %30
%34 = add nsw i32 %25, -1
%35 = add i32 %24, 1
br label %23
36: ; preds = %23
%37 = call i32 @strlen(i8* %4)
%38 = icmp sgt i32 %25, 0
br i1 %38, label %39, label %17
39: ; preds = %36
%40 = icmp sgt i32 %37, 0
%41 = zext i32 %25 to i64
%42 = zext i32 %37 to i64
br label %43
43: ; preds = %39, %84
%44 = phi i32 [ 0, %39 ], [ %86, %84 ]
br i1 %40, label %45, label %68
45: ; preds = %43
%46 = sext i32 %44 to i64
br label %47
47: ; preds = %45, %63
%48 = phi i64 [ 0, %45 ], [ %64, %63 ]
%49 = add nsw i64 %48, %46
%50 = icmp sgt i64 %49, %41
br i1 %50, label %66, label %51
51: ; preds = %47
%52 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 %49
%53 = load i8, i8* %52
%54 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 %48
%55 = load i8, i8* %54
%56 = call signext i8 @tolower(i8 signext %55)
%57 = icmp eq i8 %53, %56
br i1 %57, label %63, label %58
58: ; preds = %51
%59 = load i8, i8* %52
%60 = load i8, i8* %54
%61 = call signext i8 @toupper(i8 signext %60)
%62 = icmp eq i8 %59, %61
br i1 %62, label %63, label %66
63: ; preds = %58, %51
%64 = add nuw nsw i64 %48, 1
%65 = icmp eq i64 %64, %42
br i1 %65, label %71, label %47
66: ; preds = %58, %47
%67 = trunc i64 %48 to i32
br label %68
68: ; preds = %66, %43
%69 = phi i32 [ 0, %43 ], [ %67, %66 ]
%70 = icmp eq i32 %69, %37
br i1 %70, label %71, label %79
71: ; preds = %63, %68
%72 = add nsw i32 %44, %37
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 %73
%75 = load i8, i8* %74
%76 = icmp ne i8 %75, 32
%77 = sext i1 %76 to i32
%78 = add nsw i32 %72, %77
br label %84
79: ; preds = %68
%80 = sext i32 %44 to i64
%81 = getelementptr inbounds [300 x i8], [300 x i8]* %2, i64 0, i64 %80
%82 = load i8, i8* %81
%83 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8 signext %82)
br label %84
84: ; preds = %71, %79
%85 = phi i32 [ %44, %79 ], [ %78, %71 ]
%86 = add nsw i32 %85, 1
%87 = icmp slt i32 %86, %25
br i1 %87, label %43, label %17
88: ; preds = %17, %0
%89 = load i32, i32* @stdin
%90 = call i32 @fclose(i32 %89)
%91 = load i32, i32* @stdout
%92 = call i32 @fclose(i32 %91)
ret i32 0
}