#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 */
scalar_t__ gets(char *);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int strlen(char *);
int main(void) {
  char s[30] = "abcdefghijklmnopqrstuvwxyz";
  int count[26];
  char buf[100010];
  while (gets(buf)) {
    memset(count, 0, 26 * sizeof(int));
    int cnti = 0;
    int len = strlen(buf);
    {
      int stri = 0;
      for (stri = 0; stri < len; stri++) {
        if (buf[stri] >= 'a' && buf[stri] <= 'z')
          count[buf[stri] - 'a']++;
      }
    }
    for (cnti = 0; cnti < 26; cnti++) {
      printf("%c:%d\n", s[cnti], count[cnti]);
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x18760,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xea7(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xea4(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xea1(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe9f(%rip),%eax
mov    %eax,-0x18(%rbp)
mov    0xe99(%rip),%ax
mov    %ax,-0x14(%rbp)
lea    -0x18750(%rbp),%rdi
call   1060 <gets@plt>
cmp    $0x0,%rax
je     12c6 <main+0x186>
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x68,%edx
call   1050 <memset@plt>
movl   $0x0,-0x18754(%rbp)
lea    -0x18750(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x18758(%rbp)
movl   $0x0,-0x1875c(%rbp)
movl   $0x0,-0x1875c(%rbp)
mov    -0x1875c(%rbp),%eax
cmp    -0x18758(%rbp),%eax
jge    1260 <main+0x120>
movslq -0x1875c(%rbp),%rax
movsbl -0x18750(%rbp,%rax,1),%eax
cmp    $0x61,%eax
jl     1247 <main+0x107>
movslq -0x1875c(%rbp),%rax
movsbl -0x18750(%rbp,%rax,1),%eax
ff
cmp    $0x7a,%eax
jg     1247 <main+0x107>
movslq -0x1875c(%rbp),%rax
movsbl -0x18750(%rbp,%rax,1),%eax
ff
sub    $0x61,%eax
cltq
mov    -0xa0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0xa0(%rbp,%rax,4)
jmp    124c <main+0x10c>
mov    -0x1875c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1875c(%rbp)
jmp    11e0 <main+0xa0>
movl   $0x0,-0x18754(%rbp)
cmpl   $0x1a,-0x18754(%rbp)
jge    12b3 <main+0x173>
movslq -0x18754(%rbp),%rax
movsbl -0x30(%rbp,%rax,1),%esi
movslq -0x18754(%rbp),%rax
mov    -0xa0(%rbp,%rax,4),%edx
lea    0xd86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18754(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18754(%rbp)
jmp    126a <main+0x12a>
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1187 <main+0x47>
xor    %eax,%eax
add    $0x18760,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18728,%rsp
lea    0x70(%rsp),%rdi
call   1070 <gets@plt>
test   %rax,%rax
je     1435 <main+0x2e5>
mov    $0xffffff9f,%r12d
mov    %rsp,%r14
lea    0x70(%rsp),%r15
lea    0xe7a(%rip),%rbx
jmp    1398 <main+0x248>
nopl   0x0(%rax,%rax,1)
mov    (%rsp),%edx
mov    %rbx,%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x62,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%edx
mov    %rbx,%rdi
mov    $0x63,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%edx
mov    %rbx,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%edx
mov    %rbx,%rdi
mov    $0x65,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rsp),%edx
mov    %rbx,%rdi
mov    $0x66,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rsp),%edx
mov    %rbx,%rdi
mov    $0x67,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x68,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%edx
mov    %rbx,%rdi
mov    $0x69,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x24(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6a,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x28(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6b,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x34(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x38(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6f,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x3c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x70,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x40(%rsp),%edx
mov    %rbx,%rdi
mov    $0x71,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x44(%rsp),%edx
mov    %rbx,%rdi
mov    $0x72,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x48(%rsp),%edx
mov    %rbx,%rdi
mov    $0x73,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x74,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x50(%rsp),%edx
mov    %rbx,%rdi
mov    $0x75,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x54(%rsp),%edx
mov    %rbx,%rdi
mov    $0x76,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x58(%rsp),%edx
mov    %rbx,%rdi
mov    $0x77,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x5c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x78,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x60(%rsp),%edx
mov    %rbx,%rdi
mov    $0x79,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x64(%rsp),%edx
mov    %rbx,%rdi
mov    $0x7a,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
call   1070 <gets@plt>
test   %rax,%rax
je     1435 <main+0x2e5>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x68,%edx
call   1060 <memset@plt>
mov    %r15,%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    1190 <main+0x40>
mov    %eax,%ecx
cmp    $0x1,%eax
jne    13f0 <main+0x2a0>
xor    %eax,%eax
test   $0x1,%cl
je     1190 <main+0x40>
movzbl 0x70(%rsp,%rax,1),%eax
lea    -0x61(%rax),%ecx
cmp    $0x19,%cl
ja     1190 <main+0x40>
add    %r12d,%eax
addl   $0x1,(%rsp,%rax,4)
jmp    1190 <main+0x40>
cs nopw 0x0(%rax,%rax,1)
mov    %ecx,%edx
and    $0xfffffffe,%edx
xor    %eax,%eax
jmp    1409 <main+0x2b9>
nopl   0x0(%rax)
add    $0x2,%rax
cmp    %rax,%rdx
je     13c0 <main+0x270>
movzbl 0x70(%rsp,%rax,1),%esi
lea    -0x61(%rsi),%edi
cmp    $0x19,%dil
ja     141e <main+0x2ce>
add    %r12d,%esi
addl   $0x1,(%rsp,%rsi,4)
movzbl 0x71(%rsp,%rax,1),%esi
lea    -0x61(%rsi),%edi
cmp    $0x19,%dil
ja     1400 <main+0x2b0>
add    %r12d,%esi
addl   $0x1,(%rsp,%rsi,4)
jmp    1400 <main+0x2b0>
xor    %eax,%eax
add    $0x18728,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.s = [30 x i8] c"abcdefghijklmnopqrstuvwxyz\00\00\00\00"
@.str = [7 x i8] c"%c:%d\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [30 x i8]
%3 = alloca [26 x i32]
%4 = alloca [100010 x i8]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = bitcast [30 x i8]* %2 to i8*
br label %9
9: ; preds = %69, %0
%10 = getelementptr inbounds [100010 x i8], [100010 x i8]* %4, i64 0, i64 0
%11 = call i64 @gets(i8* %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %71
13: ; preds = %9
%14 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 0
%15 = call i32 @memset(i32* %14, i32 0, i32 104)
store i32 0, i32* %5
%16 = getelementptr inbounds [100010 x i8], [100010 x i8]* %4, i64 0, i64 0
%17 = call i32 @strlen(i8* %16)
store i32 %17, i32* %6
store i32 0, i32* %7
store i32 0, i32* %7
br label %18
18: ; preds = %48, %13
%19 = load i32, i32* %7
%20 = load i32, i32* %6
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %51
22: ; preds = %18
%23 = load i32, i32* %7
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [100010 x i8], [100010 x i8]* %4, i64 0, i64 %24
%26 = load i8, i8* %25
%27 = sext i8 %26 to i32
%28 = icmp sge i32 %27, 97
br i1 %28, label %29, label %47
29: ; preds = %22
%30 = load i32, i32* %7
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [100010 x i8], [100010 x i8]* %4, i64 0, i64 %31
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = icmp sle i32 %34, 122
br i1 %35, label %36, label %47
36: ; preds = %29
%37 = load i32, i32* %7
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [100010 x i8], [100010 x i8]* %4, i64 0, i64 %38
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 97
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = add nsw i32 %45, 1
store i32 %46, i32* %44
br label %47
47: ; preds = %36, %29, %22
br label %48
48: ; preds = %47
%49 = load i32, i32* %7
%50 = add nsw i32 %49, 1
store i32 %50, i32* %7
br label %18
51: ; preds = %18
store i32 0, i32* %5
br label %52
52: ; preds = %66, %51
%53 = load i32, i32* %5
%54 = icmp slt i32 %53, 26
br i1 %54, label %55, label %69
55: ; preds = %52
%56 = load i32, i32* %5
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [30 x i8], [30 x i8]* %2, i64 0, i64 %57
%59 = load i8, i8* %58
%60 = sext i8 %59 to i32
%61 = load i32, i32* %5
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 %60, i32 %64)
br label %66
66: ; preds = %55
%67 = load i32, i32* %5
%68 = add nsw i32 %67, 1
store i32 %68, i32* %5
br label %52
69: ; preds = %52
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %9
71: ; preds = %9
ret i32 0
}

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