#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 EOF;
int getchar();
int /*<<< orphan*/ printf(char *, long, ...);
int main(void) {
  int cur_char;
  int digits_index, uppercase_index, lowercase_index;
  long digits_count[10];
  long uppercase_count[26];
  long lowercase_count[26];
  long others_count;
  for (digits_index = 0; digits_index < 10; digits_index++) {
    digits_count[digits_index] = 0;
  }
  for (uppercase_index = 0; uppercase_index < 26; uppercase_index++) {
    uppercase_count[uppercase_index] = 0;
  }
  for (lowercase_index = 0; lowercase_index < 26; lowercase_index++) {
    lowercase_count[lowercase_index] = 0;
  }
  others_count = 0;
  while ((cur_char = getchar()) != EOF) {
    if (cur_char >= '0' && cur_char <= '9') {
      digits_count[cur_char - '0']++;
    } else if (cur_char >= 'A' && cur_char <= 'Z') {
      uppercase_count[cur_char - 'A']++;
    } else if (cur_char >= 'a' && cur_char <= 'z') {
      lowercase_count[cur_char - 'a']++;
    } else {
      others_count++;
    }
  }
  for (digits_index = 0; digits_index < 10; digits_index++) {
    printf("count of %d is %ld.\n", digits_index, digits_count[digits_index]);
  }
  for (uppercase_index = 0; uppercase_index < 26; uppercase_index++) {
    printf("count of %c is %ld.\n", uppercase_index + 'A',
           uppercase_count[uppercase_index]);
  }
  for (lowercase_index = 0; lowercase_index < 26; lowercase_index++) {
    printf("count of %c is %ld.\n", lowercase_index + 'a',
           lowercase_count[lowercase_index]);
  }
  printf("count of others is %ld.\n", others_count);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x220,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    115e <main+0x3e>
movslq -0xc(%rbp),%rax
movq   $0x0,-0x70(%rbp,%rax,8)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1139 <main+0x19>
movl   $0x0,-0x10(%rbp)
cmpl   $0x1a,-0x10(%rbp)
jge    118d <main+0x6d>
movslq -0x10(%rbp),%rax
movq   $0x0,-0x140(%rbp,%rax,8)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1165 <main+0x45>
movl   $0x0,-0x14(%rbp)
cmpl   $0x1a,-0x14(%rbp)
jge    11bc <main+0x9c>
movslq -0x14(%rbp),%rax
movq   $0x0,-0x210(%rbp,%rax,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1194 <main+0x74>
movq   $0x0,-0x218(%rbp)
mov    $0x0,%al
call   1040 <getchar@plt>
mov    %eax,-0x8(%rbp)
mov    0x2e10(%rip),%rcx
cmp    (%rcx),%eax
je     129a <main+0x17a>
cmpl   $0x30,-0x8(%rbp)
jl     120f <main+0xef>
cmpl   $0x39,-0x8(%rbp)
jg     120f <main+0xef>
mov    -0x8(%rbp),%eax
sub    $0x30,%eax
cltq
mov    -0x70(%rbp,%rax,8),%rcx
add    $0x1,%rcx
mov    %rcx,-0x70(%rbp,%rax,8)
jmp    1295 <main+0x175>
cmpl   $0x41,-0x8(%rbp)
jl     1244 <main+0x124>
cmpl   $0x5a,-0x8(%rbp)
jg     1244 <main+0x124>
mov    -0x8(%rbp),%eax
sub    $0x41,%eax
cltq
mov    -0x140(%rbp,%rax,8),%rcx
ff
add    $0x1,%rcx
mov    %rcx,-0x140(%rbp,%rax,8)
ff
jmp    1290 <main+0x170>
cmpl   $0x61,-0x8(%rbp)
jl     1279 <main+0x159>
cmpl   $0x7a,-0x8(%rbp)
jg     1279 <main+0x159>
mov    -0x8(%rbp),%eax
sub    $0x61,%eax
cltq
mov    -0x210(%rbp,%rax,8),%rcx
ff
add    $0x1,%rcx
mov    %rcx,-0x210(%rbp,%rax,8)
ff
jmp    128b <main+0x16b>
mov    -0x218(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x218(%rbp)
jmp    1290 <main+0x170>
jmp    1295 <main+0x175>
jmp    11c7 <main+0xa7>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    12d4 <main+0x1b4>
movslq -0xc(%rbp),%rsi
movslq -0xc(%rbp),%rax
mov    -0x70(%rbp,%rax,8),%rdx
lea    0xd41(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12a1 <main+0x181>
movl   $0x0,-0x10(%rbp)
cmpl   $0x1a,-0x10(%rbp)
jge    1316 <main+0x1f6>
mov    -0x10(%rbp),%eax
add    $0x41,%eax
movslq %eax,%rsi
movslq -0x10(%rbp),%rax
mov    -0x140(%rbp,%rax,8),%rdx
ff
lea    0xd14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12db <main+0x1bb>
movl   $0x0,-0x14(%rbp)
cmpl   $0x1a,-0x14(%rbp)
jge    1358 <main+0x238>
mov    -0x14(%rbp),%eax
add    $0x61,%eax
movslq %eax,%rsi
movslq -0x14(%rbp),%rax
mov    -0x210(%rbp,%rax,8),%rdx
ff
lea    0xcd2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    131d <main+0x1fd>
mov    -0x218(%rbp),%rsi
lea    0xcc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x220,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x228,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x150(%rsp)
movaps %xmm0,0x160(%rsp)
movaps %xmm0,0x170(%rsp)
movaps %xmm0,0x180(%rsp)
movaps %xmm0,0x190(%rsp)
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x1f0(%rsp)
movaps %xmm0,0x200(%rsp)
movaps %xmm0,0x210(%rsp)
movaps %xmm0,0x140(%rsp)
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
xor    %eax,%eax
call   1040 <getchar@plt>
mov    0x2dbd(%rip),%rbx
cmp    (%rbx),%eax
jne    1266 <main+0x146>
xor    %eax,%eax
mov    %rax,0x20(%rsp)
xor    %eax,%eax
mov    %rax,0x18(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %ebx,%ebx
xor    %eax,%eax
mov    %rax,0x28(%rsp)
xor    %r14d,%r14d
xor    %r13d,%r13d
xor    %ebp,%ebp
xor    %edx,%edx
xor    %r12d,%r12d
jmp    1306 <main+0x1e6>
xor    %r12d,%r12d
jmp    1283 <main+0x163>
nopl   0x0(%rax,%rax,1)
mov    %ecx,%eax
addq   $0x1,0x30(%rsp,%rax,8)
xor    %eax,%eax
call   1040 <getchar@plt>
cmp    (%rbx),%eax
je     12bb <main+0x19b>
lea    -0x30(%rax),%ecx
cmp    $0x9,%ecx
jbe    1270 <main+0x150>
lea    -0x41(%rax),%ecx
cmp    $0x19,%ecx
ja     12a0 <main+0x180>
mov    %ecx,%eax
addq   $0x1,0x150(%rsp,%rax,8)
jmp    1278 <main+0x158>
add    $0xffffff9f,%eax
cmp    $0x19,%eax
ja     12b5 <main+0x195>
mov    %eax,%eax
addq   $0x1,0x80(%rsp,%rax,8)
jmp    1278 <main+0x158>
add    $0x1,%r12
jmp    1278 <main+0x158>
mov    0x30(%rsp),%rdx
mov    0x38(%rsp),%rbp
mov    0x40(%rsp),%r13
mov    0x48(%rsp),%r14
mov    0x50(%rsp),%rbx
mov    0x58(%rsp),%rax
mov    %rax,0x8(%rsp)
mov    0x60(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    0x68(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    0x70(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x78(%rsp),%rax
mov    %rax,0x28(%rsp)
lea    0xcf3(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%esi
mov    %r15,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x2,%esi
mov    %r15,%rdi
mov    %r13,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x3,%esi
mov    %r15,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x4,%esi
mov    %r15,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x5,%esi
mov    %r15,%rdi
mov    0x8(%rsp),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x6,%esi
mov    %r15,%rdi
mov    0x10(%rsp),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x7,%esi
mov    %r15,%rdi
mov    0x18(%rsp),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x8,%esi
mov    %r15,%rdi
mov    0x20(%rsp),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x9,%esi
mov    %r15,%rdi
mov    0x28(%rsp),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x41,%ebp
lea    0xc44(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    -0xb8(%rsp,%rbp,8),%rdx
ff
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%rbp
cmp    $0x5b,%rbp
jne    13e0 <main+0x2c0>
mov    $0x61,%ebp
lea    0xc0a(%rip),%rbx
nopl   0x0(%rax,%rax,1)
mov    -0x288(%rsp,%rbp,8),%rdx
ff
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%rbp
cmp    $0x7b,%rbp
jne    1410 <main+0x2f0>
lea    0xbf4(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x228,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@EOF = global i32 0
@.str = [21 x i8] c"count of %d is %ld.\0A\00"
@.str.1 = [21 x i8] c"count of %c is %ld.\0A\00"
@.str.2 = [25 x i8] c"count of others is %ld.\0A\00"
define i32 @main() {
%1 = alloca [10 x i64]
%2 = bitcast [10 x i64]* %1 to i8*
%3 = alloca [26 x i64]
%4 = bitcast [26 x i64]* %3 to i8*
%5 = alloca [26 x i64]
%6 = bitcast [26 x i64]* %5 to i8*
%7 = tail call i32 (...) @getchar()
%8 = load i32, i32* @EOF
%9 = icmp eq i32 %7, %8
br i1 %9, label %31, label %53
10: ; preds = %81
%11 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 0
%12 = load i64, i64* %11
%13 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 1
%14 = load i64, i64* %13
%15 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 2
%16 = load i64, i64* %15
%17 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 3
%18 = load i64, i64* %17
%19 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 4
%20 = load i64, i64* %19
%21 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 5
%22 = load i64, i64* %21
%23 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 6
%24 = load i64, i64* %23
%25 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 7
%26 = load i64, i64* %25
%27 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 8
%28 = load i64, i64* %27
%29 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 9
%30 = load i64, i64* %29
br label %31
31: ; preds = %10, %0
%32 = phi i64 [ 0, %0 ], [ %30, %10 ]
%33 = phi i64 [ 0, %0 ], [ %28, %10 ]
%34 = phi i64 [ 0, %0 ], [ %26, %10 ]
%35 = phi i64 [ 0, %0 ], [ %24, %10 ]
%36 = phi i64 [ 0, %0 ], [ %22, %10 ]
%37 = phi i64 [ 0, %0 ], [ %20, %10 ]
%38 = phi i64 [ 0, %0 ], [ %18, %10 ]
%39 = phi i64 [ 0, %0 ], [ %16, %10 ]
%40 = phi i64 [ 0, %0 ], [ %14, %10 ]
%41 = phi i64 [ 0, %0 ], [ %12, %10 ]
%42 = phi i64 [ 0, %0 ], [ %82, %10 ]
%43 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 0, i64 %41)
%44 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 1, i64 %40)
%45 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 2, i64 %39)
%46 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 3, i64 %38)
%47 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 4, i64 %37)
%48 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 5, i64 %36)
%49 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 6, i64 %35)
%50 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 7, i64 %34)
%51 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 8, i64 %33)
%52 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i64 9, i64 %32)
br label %86
53: ; preds = %0, %81
%54 = phi i32 [ %83, %81 ], [ %7, %0 ]
%55 = phi i64 [ %82, %81 ], [ 0, %0 ]
%56 = add i32 %54, -48
%57 = icmp ult i32 %56, 10
br i1 %57, label %58, label %63
58: ; preds = %53
%59 = zext i32 %56 to i64
%60 = getelementptr inbounds [10 x i64], [10 x i64]* %1, i64 0, i64 %59
%61 = load i64, i64* %60
%62 = add nsw i64 %61, 1
store i64 %62, i64* %60
br label %81
63: ; preds = %53
%64 = add i32 %54, -65
%65 = icmp ult i32 %64, 26
br i1 %65, label %66, label %71
66: ; preds = %63
%67 = zext i32 %64 to i64
%68 = getelementptr inbounds [26 x i64], [26 x i64]* %3, i64 0, i64 %67
%69 = load i64, i64* %68
%70 = add nsw i64 %69, 1
store i64 %70, i64* %68
br label %81
71: ; preds = %63
%72 = add i32 %54, -97
%73 = icmp ult i32 %72, 26
br i1 %73, label %74, label %79
74: ; preds = %71
%75 = zext i32 %72 to i64
%76 = getelementptr inbounds [26 x i64], [26 x i64]* %5, i64 0, i64 %75
%77 = load i64, i64* %76
%78 = add nsw i64 %77, 1
store i64 %78, i64* %76
br label %81
79: ; preds = %71
%80 = add nsw i64 %55, 1
br label %81
81: ; preds = %66, %79, %74, %58
%82 = phi i64 [ %55, %58 ], [ %55, %66 ], [ %55, %74 ], [ %80, %79 ]
%83 = tail call i32 (...) @getchar()
%84 = load i32, i32* @EOF
%85 = icmp eq i32 %83, %84
br i1 %85, label %10, label %53
86: ; preds = %31, %86
%87 = phi i64 [ 0, %31 ], [ %92, %86 ]
%88 = add nuw nsw i64 %87, 65
%89 = getelementptr inbounds [26 x i64], [26 x i64]* %3, i64 0, i64 %87
%90 = load i64, i64* %89
%91 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i64 %88, i64 %90)
%92 = add nuw nsw i64 %87, 1
%93 = icmp eq i64 %92, 26
br i1 %93, label %94, label %86
94: ; preds = %86, %94
%95 = phi i64 [ %100, %94 ], [ 0, %86 ]
%96 = add nuw nsw i64 %95, 97
%97 = getelementptr inbounds [26 x i64], [26 x i64]* %5, i64 0, i64 %95
%98 = load i64, i64* %97
%99 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i64 %96, i64 %98)
%100 = add nuw nsw i64 %95, 1
%101 = icmp eq i64 %100, 26
br i1 %101, label %102, label %94
102: ; preds = %94
%103 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i64 %42)
ret i32 0
}