#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*/ freopen(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ scanf(char *, ...);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
int strlen(char *);
int main(int argc, char *argv[]) {
  freopen("pinyin.in", "r", stdin);
  freopen("pinyin.out", "w+", stdout);
  int n, type, i, j;
  char pinyin[1001];
  scanf("%i", &n);
  while (n--) {
    scanf("%s", pinyin);
    type = pinyin[strlen(pinyin) - 1] - '0';
    for (i = 0; i < strlen(pinyin) - 1; i++) {
      if (type != 5) {
        switch (pinyin[i]) {
        case 'a':
          switch (type) {
          case 1:
            putchar('1');
            break;
          case 2:
            putchar('7');
            break;
          case 3:
            putchar('!');
            break;
          case 4:
            putchar('&');
            break;
          }
          break;
        case 'o':
          switch (type) {
          case 1:
            putchar('2');
            break;
          case 2:
            putchar('8');
            break;
          case 3:
            putchar('@');
            break;
          case 4:
            putchar('*');
            break;
          }
          break;
        case 'e':
          switch (type) {
          case 1:
            putchar('3');
            break;
          case 2:
            putchar('9');
            break;
          case 3:
            putchar('#');
            break;
          case 4:
            putchar('(');
            break;
          }
          break;
        case 'i':
          switch (type) {
          case 1:
            putchar('4');
            break;
          case 2:
            putchar('0');
            break;
          case 3:
            putchar('$');
            break;
          case 4:
            putchar(')');
            break;
          }
          break;
        case 'u':
          switch (type) {
          case 1:
            putchar('5');
            break;
          case 2:
            putchar('+');
            break;
          case 3:
            putchar('%');
            break;
          case 4:
            putchar('_');
            break;
          }
          break;
        case 'v':
          switch (type) {
          case 1:
            putchar('6');
            break;
          case 2:
            putchar('-');
            break;
          case 3:
            putchar('^');
            break;
          case 4:
            putchar('=');
            break;
          }
          break;
        default:
          putchar(pinyin[i]);
          break;
        }
      } else {
        putchar(pinyin[i]);
      }
    }
    putchar('\n');
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x450,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e88(%rip),%rax
mov    (%rax),%edx
lea    0xf4f(%rip),%rdi
lea    0xf52(%rip),%rsi
call   1050 <freopen@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edx
lea    0xf3f(%rip),%rdi
lea    0xf43(%rip),%rsi
call   1050 <freopen@plt>
lea    0xf3a(%rip),%rdi
lea    -0x14(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x14(%rbp)
cmp    $0x0,%eax
je     1527 <main+0x3e7>
lea    -0x410(%rbp),%rsi
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1060 <scanf@plt>
lea    -0x410(%rbp),%rdi
call   1040 <strlen@plt>
sub    $0x1,%eax
cltq
movsbl -0x410(%rbp,%rax,1),%eax
ff
sub    $0x30,%eax
mov    %eax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x414(%rbp)
lea    -0x410(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x414(%rbp),%eax
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1518 <main+0x3d8>
cmpl   $0x5,-0x18(%rbp)
je     14f4 <main+0x3b4>
movslq -0x1c(%rbp),%rax
movsbl -0x410(%rbp,%rax,1),%eax
ff
add    $0xffffff9f,%eax
mov    %eax,%ecx
mov    %rcx,-0x420(%rbp)
sub    $0x15,%eax
ja     14de <main+0x39e>
mov    -0x420(%rbp),%rax
lea    0xdad(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x428(%rbp)
sub    $0x3,%eax
ja     12c2 <main+0x182>
mov    -0x428(%rbp),%rax
lea    0xe26(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x31,%edi
call   1030 <putchar@plt>
jmp    12c2 <main+0x182>
mov    $0x37,%edi
call   1030 <putchar@plt>
jmp    12c2 <main+0x182>
mov    $0x21,%edi
call   1030 <putchar@plt>
jmp    12c2 <main+0x182>
mov    $0x26,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x430(%rbp)
sub    $0x3,%eax
ja     132d <main+0x1ed>
mov    -0x430(%rbp),%rax
lea    0xdab(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x32,%edi
call   1030 <putchar@plt>
jmp    132d <main+0x1ed>
mov    $0x38,%edi
call   1030 <putchar@plt>
jmp    132d <main+0x1ed>
mov    $0x40,%edi
call   1030 <putchar@plt>
jmp    132d <main+0x1ed>
mov    $0x2a,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x438(%rbp)
sub    $0x3,%eax
ja     1398 <main+0x258>
mov    -0x438(%rbp),%rax
lea    0xd30(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x33,%edi
call   1030 <putchar@plt>
jmp    1398 <main+0x258>
mov    $0x39,%edi
call   1030 <putchar@plt>
jmp    1398 <main+0x258>
mov    $0x23,%edi
call   1030 <putchar@plt>
jmp    1398 <main+0x258>
mov    $0x28,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x440(%rbp)
sub    $0x3,%eax
ja     1403 <main+0x2c3>
mov    -0x440(%rbp),%rax
lea    0xcb5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x34,%edi
call   1030 <putchar@plt>
jmp    1403 <main+0x2c3>
mov    $0x30,%edi
call   1030 <putchar@plt>
jmp    1403 <main+0x2c3>
mov    $0x24,%edi
call   1030 <putchar@plt>
jmp    1403 <main+0x2c3>
mov    $0x29,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x448(%rbp)
sub    $0x3,%eax
ja     146e <main+0x32e>
mov    -0x448(%rbp),%rax
lea    0xc3a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x35,%edi
call   1030 <putchar@plt>
jmp    146e <main+0x32e>
mov    $0x2b,%edi
call   1030 <putchar@plt>
jmp    146e <main+0x32e>
mov    $0x25,%edi
call   1030 <putchar@plt>
jmp    146e <main+0x32e>
mov    $0x5f,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x450(%rbp)
sub    $0x3,%eax
ja     14d9 <main+0x399>
mov    -0x450(%rbp),%rax
lea    0xbbf(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x36,%edi
call   1030 <putchar@plt>
jmp    14d9 <main+0x399>
mov    $0x2d,%edi
call   1030 <putchar@plt>
jmp    14d9 <main+0x399>
mov    $0x5e,%edi
call   1030 <putchar@plt>
jmp    14d9 <main+0x399>
mov    $0x3d,%edi
call   1030 <putchar@plt>
jmp    14ef <main+0x3af>
movslq -0x1c(%rbp),%rax
movsbl -0x410(%rbp,%rax,1),%edi
ff
call   1030 <putchar@plt>
jmp    1505 <main+0x3c5>
movslq -0x1c(%rbp),%rax
movsbl -0x410(%rbp,%rax,1),%edi
ff
call   1030 <putchar@plt>
jmp    150a <main+0x3ca>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11f2 <main+0xb2>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    11a3 <main+0x63>
xor    %eax,%eax
add    $0x450,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
mov    0x2e90(%rip),%rax
mov    (%rax),%edx
lea    0xef7(%rip),%rdi
lea    0xefa(%rip),%rsi
call   1050 <freopen@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%edx
lea    0xee7(%rip),%rdi
lea    0xeeb(%rip),%rsi
call   1050 <freopen@plt>
lea    0xee2(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
subl   $0x1,0x8(%rsp)
jae    11b7 <main+0x77>
xor    %eax,%eax
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x20(%rsp),%r12
lea    0xe3d(%rip),%r15
jmp    11e1 <main+0xa1>
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0xa,%edi
call   1030 <putchar@plt>
subl   $0x1,0x8(%rsp)
jb     11a3 <main+0x63>
lea    0xe8d(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    %r12,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%r12,1),%ebx
mov    %r12,%rdi
call   1040 <strlen@plt>
cmp    $0x2,%eax
jl     11d0 <main+0x90>
mov    %ebx,%ebp
add    $0xffffffcf,%ebp
lea    -0x188(,%rbx,8),%ecx
mov    $0x3d5e2d36,%eax
shr    %cl,%eax
mov    %eax,0x1c(%rsp)
mov    $0x5f252b35,%eax
shr    %cl,%eax
mov    %eax,0x18(%rsp)
mov    $0x29243034,%eax
shr    %cl,%eax
mov    %eax,0x14(%rsp)
mov    $0x28233933,%eax
shr    %cl,%eax
mov    %eax,0x10(%rsp)
mov    $0x2a403832,%eax
shr    %cl,%eax
mov    %eax,0xc(%rsp)
mov    $0x26213731,%r14d
shr    %cl,%r14d
xor    %r13d,%r13d
jmp    1282 <main+0x142>
movsbl %al,%edi
call   1030 <putchar@plt>
add    $0x1,%r13
mov    %r12,%rdi
call   1040 <strlen@plt>
add    $0xffffffff,%eax
cltq
cmp    %rax,%r13
jge    11d0 <main+0x90>
movzbl 0x20(%rsp,%r13,1),%eax
cmp    $0x35,%bl
je     1260 <main+0x120>
movsbl %al,%ecx
add    $0xffffff9f,%ecx
cmp    $0x15,%ecx
ja     1260 <main+0x120>
movslq (%r15,%rcx,4),%rcx
add    %r15,%rcx
jmp    *%rcx
mov    %r14d,%eax
jmp    12bc <main+0x17c>
mov    0x10(%rsp),%eax
jmp    12bc <main+0x17c>
mov    0x14(%rsp),%eax
jmp    12bc <main+0x17c>
mov    0xc(%rsp),%eax
jmp    12bc <main+0x17c>
mov    0x18(%rsp),%eax
cmp    $0x4,%ebp
jb     1260 <main+0x120>
jmp    1268 <main+0x128>
mov    0x1c(%rsp),%eax
cmp    $0x3,%ebp
ja     1268 <main+0x128>
jmp    1260 <main+0x120>

LLVM IR (-O0):
@.str = [10 x i8] c"pinyin.in\00"
@.str.1 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.2 = [11 x i8] c"pinyin.out\00"
@.str.3 = [3 x i8] c"w+\00"
@stdout = global i32 0
@.str.4 = [3 x i8] c"%i\00"
@.str.5 = [3 x i8] c"%s\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 [1001 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* @stdin
%12 = call i32 @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stdout
%14 = call i32 @freopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %13)
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %6)
br label %16
16: ; preds = %129, %2
%17 = load i32, i32* %6
%18 = add nsw i32 %17, -1
store i32 %18, i32* %6
%19 = icmp ne i32 %17, 0
br i1 %19, label %20, label %131
20: ; preds = %16
%21 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 0
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %21)
%23 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 0
%24 = call i32 @strlen(i8* %23)
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 %26
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
%30 = sub nsw i32 %29, 48
store i32 %30, i32* %7
store i32 0, i32* %8
br label %31
31: ; preds = %126, %20
%32 = load i32, i32* %8
%33 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 0
%34 = call i32 @strlen(i8* %33)
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %32, %35
br i1 %36, label %37, label %129
37: ; preds = %31
%38 = load i32, i32* %7
%39 = icmp ne i32 %38, 5
br i1 %39, label %40, label %119
40: ; preds = %37
%41 = load i32, i32* %8
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 %42
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
switch i32 %45, label %112 [
i32 97, label %46
i32 111, label %57
i32 101, label %68
i32 105, label %79
i32 117, label %90
i32 118, label %101
]
46: ; preds = %40
%47 = load i32, i32* %7
switch i32 %47, label %56 [
i32 1, label %48
i32 2, label %50
i32 3, label %52
i32 4, label %54
]
48: ; preds = %46
%49 = call i32 @putchar(i8 signext 49)
br label %56
50: ; preds = %46
%51 = call i32 @putchar(i8 signext 55)
br label %56
52: ; preds = %46
%53 = call i32 @putchar(i8 signext 33)
br label %56
54: ; preds = %46
%55 = call i32 @putchar(i8 signext 38)
br label %56
56: ; preds = %46, %54, %52, %50, %48
br label %118
57: ; preds = %40
%58 = load i32, i32* %7
switch i32 %58, label %67 [
i32 1, label %59
i32 2, label %61
i32 3, label %63
i32 4, label %65
]
59: ; preds = %57
%60 = call i32 @putchar(i8 signext 50)
br label %67
61: ; preds = %57
%62 = call i32 @putchar(i8 signext 56)
br label %67
63: ; preds = %57
%64 = call i32 @putchar(i8 signext 64)
br label %67
65: ; preds = %57
%66 = call i32 @putchar(i8 signext 42)
br label %67
67: ; preds = %57, %65, %63, %61, %59
br label %118
68: ; preds = %40
%69 = load i32, i32* %7
switch i32 %69, label %78 [
i32 1, label %70
i32 2, label %72
i32 3, label %74
i32 4, label %76
]
70: ; preds = %68
%71 = call i32 @putchar(i8 signext 51)
br label %78
72: ; preds = %68
%73 = call i32 @putchar(i8 signext 57)
br label %78
74: ; preds = %68
%75 = call i32 @putchar(i8 signext 35)
br label %78
76: ; preds = %68
%77 = call i32 @putchar(i8 signext 40)
br label %78
78: ; preds = %68, %76, %74, %72, %70
br label %118
79: ; preds = %40
%80 = load i32, i32* %7
switch i32 %80, label %89 [
i32 1, label %81
i32 2, label %83
i32 3, label %85
i32 4, label %87
]
81: ; preds = %79
%82 = call i32 @putchar(i8 signext 52)
br label %89
83: ; preds = %79
%84 = call i32 @putchar(i8 signext 48)
br label %89
85: ; preds = %79
%86 = call i32 @putchar(i8 signext 36)
br label %89
87: ; preds = %79
%88 = call i32 @putchar(i8 signext 41)
br label %89
89: ; preds = %79, %87, %85, %83, %81
br label %118
90: ; preds = %40
%91 = load i32, i32* %7
switch i32 %91, label %100 [
i32 1, label %92
i32 2, label %94
i32 3, label %96
i32 4, label %98
]
92: ; preds = %90
%93 = call i32 @putchar(i8 signext 53)
br label %100
94: ; preds = %90
%95 = call i32 @putchar(i8 signext 43)
br label %100
96: ; preds = %90
%97 = call i32 @putchar(i8 signext 37)
br label %100
98: ; preds = %90
%99 = call i32 @putchar(i8 signext 95)
br label %100
100: ; preds = %90, %98, %96, %94, %92
br label %118
101: ; preds = %40
%102 = load i32, i32* %7
switch i32 %102, label %111 [
i32 1, label %103
i32 2, label %105
i32 3, label %107
i32 4, label %109
]
103: ; preds = %101
%104 = call i32 @putchar(i8 signext 54)
br label %111
105: ; preds = %101
%106 = call i32 @putchar(i8 signext 45)
br label %111
107: ; preds = %101
%108 = call i32 @putchar(i8 signext 94)
br label %111
109: ; preds = %101
%110 = call i32 @putchar(i8 signext 61)
br label %111
111: ; preds = %101, %109, %107, %105, %103
br label %118
112: ; preds = %40
%113 = load i32, i32* %8
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 %114
%116 = load i8, i8* %115
%117 = call i32 @putchar(i8 signext %116)
br label %118
118: ; preds = %112, %111, %100, %89, %78, %67, %56
br label %125
119: ; preds = %37
%120 = load i32, i32* %8
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [1001 x i8], [1001 x i8]* %10, i64 0, i64 %121
%123 = load i8, i8* %122
%124 = call i32 @putchar(i8 signext %123)
br label %125
125: ; preds = %119, %118
br label %126
126: ; preds = %125
%127 = load i32, i32* %8
%128 = add nsw i32 %127, 1
store i32 %128, i32* %8
br label %31
129: ; preds = %31
%130 = call i32 @putchar(i8 signext 10)
br label %16
131: ; preds = %16
ret i32 0
}

LLVM IR (-O2):
@.str = [10 x i8] c"pinyin.in\00"
@.str.1 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.2 = [11 x i8] c"pinyin.out\00"
@.str.3 = [3 x i8] c"w+\00"
@stdout = global i32 0
@.str.4 = [3 x i8] c"%i\00"
@.str.5 = [3 x i8] c"%s\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca [1001 x i8]
%5 = load i32, i32* @stdin
%6 = tail call i32 @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stdout
%8 = tail call i32 @freopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = bitcast i32* %3 to i8*
%10 = getelementptr inbounds [1001 x i8], [1001 x i8]* %4, i64 0, i64 0
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %3)
%12 = load i32, i32* %3
%13 = add nsw i32 %12, -1
store i32 %13, i32* %3
%14 = icmp eq i32 %12, 0
br i1 %14, label %83, label %15
15: ; preds = %2, %78
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %10)
%17 = call i32 @strlen(i8* %10)
%18 = add nsw i32 %17, -1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [1001 x i8], [1001 x i8]* %4, i64 0, i64 %19
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = call i32 @strlen(i8* %10)
%24 = icmp sgt i32 %23, 1
br i1 %24, label %25, label %78
25: ; preds = %15
%26 = icmp eq i8 %21, 53
%27 = add nsw i32 %22, -49
%28 = icmp ult i32 %27, 4
%29 = shl nsw i32 %27, 3
%30 = lshr i32 1029582134, %29
%31 = trunc i32 %30 to i8
%32 = add nsw i32 %22, -49
%33 = icmp ult i32 %32, 4
%34 = shl nsw i32 %32, 3
%35 = lshr i32 1596271413, %34
%36 = trunc i32 %35 to i8
%37 = add nsw i32 %22, -49
%38 = icmp ult i32 %37, 4
%39 = shl nsw i32 %37, 3
%40 = lshr i32 690237492, %39
%41 = trunc i32 %40 to i8
%42 = add nsw i32 %22, -49
%43 = icmp ult i32 %42, 4
%44 = shl nsw i32 %42, 3
%45 = lshr i32 673397043, %44
%46 = trunc i32 %45 to i8
%47 = add nsw i32 %22, -49
%48 = icmp ult i32 %47, 4
%49 = shl nsw i32 %47, 3
%50 = lshr i32 708851762, %49
%51 = trunc i32 %50 to i8
%52 = add nsw i32 %22, -49
%53 = icmp ult i32 %52, 4
%54 = shl nsw i32 %52, 3
%55 = lshr i32 639711025, %54
%56 = trunc i32 %55 to i8
br label %57
57: ; preds = %25, %72
%58 = phi i64 [ 0, %25 ], [ %73, %72 ]
%59 = getelementptr inbounds [1001 x i8], [1001 x i8]* %4, i64 0, i64 %58
%60 = load i8, i8* %59
br i1 %26, label %69, label %61
61: ; preds = %57
%62 = sext i8 %60 to i32
switch i32 %62, label %69 [
i32 97, label %63
i32 111, label %64
i32 101, label %65
i32 105, label %66
i32 117, label %67
i32 118, label %68
]
63: ; preds = %61
br i1 %53, label %69, label %72
64: ; preds = %61
br i1 %48, label %69, label %72
65: ; preds = %61
br i1 %43, label %69, label %72
66: ; preds = %61
br i1 %38, label %69, label %72
67: ; preds = %61
br i1 %33, label %69, label %72
68: ; preds = %61
br i1 %28, label %69, label %72
69: ; preds = %68, %67, %66, %65, %64, %63, %57, %61
%70 = phi i8 [ %60, %61 ], [ %60, %57 ], [ %56, %63 ], [ %51, %64 ], [ %46, %65 ], [ %41, %66 ], [ %36, %67 ], [ %31, %68 ]
%71 = call i32 @putchar(i8 signext %70)
br label %72
72: ; preds = %68, %67, %66, %65, %64, %63, %69
%73 = add nuw nsw i64 %58, 1
%74 = call i32 @strlen(i8* %10)
%75 = add nsw i32 %74, -1
%76 = sext i32 %75 to i64
%77 = icmp slt i64 %73, %76
br i1 %77, label %57, label %78
78: ; preds = %72, %15
%79 = call i32 @putchar(i8 signext 10)
%80 = load i32, i32* %3
%81 = add nsw i32 %80, -1
store i32 %81, i32* %3
%82 = icmp eq i32 %80, 0
br i1 %82, label %83, label %15
83: ; preds = %78, %2
ret i32 0
}