#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*/ printf(char *);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int number;
  printf("Insira um número: ");
  scanf("%d", &number);
  if (number < 1 || number > 999) {
    return -1;
  }
  int units = number % 10;
  number /= 10;
  int tens = number % 10;
  number /= 10;
  int hundreds = number;
  switch (hundreds) {
  case 1: {
    printf("C");
  } break;
  case 2: {
    printf("CC");
  } break;
  case 3: {
    printf("CCC");
  } break;
  case 4: {
    printf("CD");
  } break;
  case 5: {
    printf("D");
  } break;
  case 6: {
    printf("DC");
  } break;
  case 7: {
    printf("DCC");
  } break;
  case 8: {
    printf("DCCC");
  } break;
  case 9: {
    printf("CM");
  } break;
  default: {
  } break;
  }
  switch (tens) {
  case 1: {
    printf("X");
  } break;
  case 2: {
    printf("XX");
  } break;
  case 3: {
    printf("XXX");
  } break;
  case 4: {
    printf("XL");
  } break;
  case 5: {
    printf("L");
  } break;
  case 6: {
    printf("LX");
  } break;
  case 7: {
    printf("LXX");
  } break;
  case 8: {
    printf("LXXX");
  } break;
  case 9: {
    printf("XC");
  } break;
  default: {
  } break;
  }
  switch (units) {
  case 1: {
    printf("I");
  } break;
  case 2: {
    printf("II");
  } break;
  case 3: {
    printf("III");
  } break;
  case 4: {
    printf("IX");
  } break;
  case 5: {
    printf("V");
  } break;
  case 6: {
    printf("VI");
  } break;
  case 7: {
    printf("VII");
  } break;
  case 8: {
    printf("VIII");
  } break;
  case 9: {
    printf("IX");
  } break;
  default: {
  } break;
  }
  puts("");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf26(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2e(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x1,-0x8(%rbp)
jl     1172 <main+0x42>
cmpl   $0x3e7,-0x8(%rbp)
jle    117e <main+0x4e>
movl   $0xffffffff,-0x4(%rbp)
jmp    146e <main+0x33e>
movslq -0x8(%rbp),%rcx
mov    %ecx,%eax
imul   $0x66666667,%rcx,%rdx
mov    %rdx,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rdx
add    %ecx,%edx
add    %edx,%edx
mov    %edx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,-0xc(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rax
add    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rcx
mov    %ecx,%eax
imul   $0x66666667,%rcx,%rdx
mov    %rdx,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rdx
add    %ecx,%edx
add    %edx,%edx
mov    %edx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,-0x10(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rax
add    %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0x8,%eax
ja     12c8 <main+0x198>
mov    -0x20(%rbp),%rax
lea    0xdda(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe5a(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xe48(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xe36(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xe1a(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xe0a(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xdfb(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xded(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xde0(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
lea    0xdd4(%rip),%rdi
call   1040 <printf@plt>
jmp    12cd <main+0x19d>
jmp    12cd <main+0x19d>
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x8,%eax
ja     138f <main+0x25f>
mov    -0x28(%rbp),%rax
lea    0xd37(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xdab(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd8e(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd81(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd65(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd55(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd46(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd38(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd2b(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
lea    0xd1f(%rip),%rdi
call   1040 <printf@plt>
jmp    1394 <main+0x264>
jmp    1394 <main+0x264>
mov    -0xc(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0x8,%eax
ja     1456 <main+0x326>
mov    -0x30(%rbp),%rax
lea    0xc94(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xcf2(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xce0(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xcce(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xcb0(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xca2(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xc93(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xc85(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xc78(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
lea    0xc5b(%rip),%rdi
call   1040 <printf@plt>
jmp    145b <main+0x32b>
jmp    145b <main+0x32b>
lea    0xc1d(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xf31(%rip),%rdi
call   1040 <printf@plt>
lea    0xf39(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x4(%rsp),%ebx
lea    -0x3e8(%rbx),%ecx
mov    $0xffffffff,%eax
cmp    $0xfffffc19,%ecx
jb     1306 <main+0x1d6>
movzwl %bx,%eax
imul   $0xcccd,%eax,%ecx
shr    $0x13,%ecx
lea    (%rcx,%rcx,1),%edx
lea    (%rdx,%rdx,4),%edx
sub    %edx,%ebx
movzbl %cl,%ecx
imul   $0xcd,%ecx,%edx
shr    $0xa,%edx
and    $0xfffffffe,%edx
lea    (%rdx,%rdx,4),%edx
sub    %dl,%cl
movzbl %cl,%r14d
shr    $0x2,%eax
imul   $0x147b,%eax,%eax
shr    $0x11,%eax
mov    %eax,0x4(%rsp)
add    $0xffffffff,%eax
cmp    $0x8,%eax
ja     121a <main+0xea>
lea    0xe49(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x43,%edi
call   1030 <putchar@plt>
jmp    121a <main+0xea>
lea    0xebc(%rip),%rdi
jmp    1215 <main+0xe5>
lea    0xeb2(%rip),%rdi
jmp    1215 <main+0xe5>
lea    0xe9e(%rip),%rdi
jmp    1215 <main+0xe5>
mov    $0x44,%edi
call   1030 <putchar@plt>
jmp    121a <main+0xea>
lea    0xe8c(%rip),%rdi
jmp    1215 <main+0xe5>
lea    0xe86(%rip),%rdi
jmp    1215 <main+0xe5>
lea    0xe81(%rip),%rdi
jmp    1215 <main+0xe5>
lea    0xe7d(%rip),%rdi
call   1040 <printf@plt>
movzwl %bx,%ebx
add    $0xffffffff,%r14d
cmp    $0x8,%r14d
ja     1291 <main+0x161>
lea    0xdf6(%rip),%rax
movslq (%rax,%r14,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    $0x58,%edi
call   1030 <putchar@plt>
jmp    1291 <main+0x161>
lea    0xe52(%rip),%rdi
jmp    128c <main+0x15c>
lea    0xe4d(%rip),%rdi
jmp    128c <main+0x15c>
lea    0xe39(%rip),%rdi
jmp    128c <main+0x15c>
mov    $0x4c,%edi
call   1030 <putchar@plt>
jmp    1291 <main+0x161>
lea    0xe27(%rip),%rdi
jmp    128c <main+0x15c>
lea    0xe21(%rip),%rdi
jmp    128c <main+0x15c>
lea    0xe1c(%rip),%rdi
jmp    128c <main+0x15c>
lea    0xe18(%rip),%rdi
call   1040 <printf@plt>
add    $0xffffffff,%ebx
cmp    $0x8,%ebx
ja     12fa <main+0x1ca>
lea    0xda8(%rip),%rax
movslq (%rax,%rbx,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0xdf7(%rip),%rdi
jmp    12f5 <main+0x1c5>
mov    $0x49,%edi
call   1030 <putchar@plt>
jmp    12fa <main+0x1ca>
lea    0xdee(%rip),%rdi
jmp    12f5 <main+0x1c5>
lea    0xde4(%rip),%rdi
jmp    12f5 <main+0x1c5>
mov    $0x56,%edi
call   1030 <putchar@plt>
jmp    12fa <main+0x1ca>
lea    0xdc7(%rip),%rdi
jmp    12f5 <main+0x1c5>
lea    0xdc1(%rip),%rdi
jmp    12f5 <main+0x1c5>
lea    0xdbc(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Insira um n\C3\BAmero: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [2 x i8] c"C\00"
@.str.3 = [3 x i8] c"CC\00"
@.str.4 = [4 x i8] c"CCC\00"
@.str.5 = [3 x i8] c"CD\00"
@.str.6 = [2 x i8] c"D\00"
@.str.7 = [3 x i8] c"DC\00"
@.str.8 = [4 x i8] c"DCC\00"
@.str.9 = [5 x i8] c"DCCC\00"
@.str.10 = [3 x i8] c"CM\00"
@.str.11 = [2 x i8] c"X\00"
@.str.12 = [3 x i8] c"XX\00"
@.str.13 = [4 x i8] c"XXX\00"
@.str.14 = [3 x i8] c"XL\00"
@.str.15 = [2 x i8] c"L\00"
@.str.16 = [3 x i8] c"LX\00"
@.str.17 = [4 x i8] c"LXX\00"
@.str.18 = [5 x i8] c"LXXX\00"
@.str.19 = [3 x i8] c"XC\00"
@.str.20 = [2 x i8] c"I\00"
@.str.21 = [3 x i8] c"II\00"
@.str.22 = [4 x i8] c"III\00"
@.str.23 = [3 x i8] c"IX\00"
@.str.24 = [2 x i8] c"V\00"
@.str.25 = [3 x i8] c"VI\00"
@.str.26 = [4 x i8] c"VII\00"
@.str.27 = [5 x i8] c"VIII\00"
@.str.28 = [1 x i8] zeroinitializer
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%8 = load i32, i32* %2
%9 = icmp slt i32 %8, 1
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = load i32, i32* %2
%12 = icmp sgt i32 %11, 999
br i1 %12, label %13, label %14
13: ; preds = %10, %0
store i32 -1, i32* %1
br label %88
14: ; preds = %10
%15 = load i32, i32* %2
%16 = srem i32 %15, 10
store i32 %16, i32* %3
%17 = load i32, i32* %2
%18 = sdiv i32 %17, 10
store i32 %18, i32* %2
%19 = load i32, i32* %2
%20 = srem i32 %19, 10
store i32 %20, i32* %4
%21 = load i32, i32* %2
%22 = sdiv i32 %21, 10
store i32 %22, i32* %2
%23 = load i32, i32* %2
store i32 %23, i32* %5
%24 = load i32, i32* %5
switch i32 %24, label %43 [
i32 1, label %25
i32 2, label %27
i32 3, label %29
i32 4, label %31
i32 5, label %33
i32 6, label %35
i32 7, label %37
i32 8, label %39
i32 9, label %41
]
25: ; preds = %14
%26 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %44
27: ; preds = %14
%28 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %44
29: ; preds = %14
%30 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %44
31: ; preds = %14
%32 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %44
33: ; preds = %14
%34 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %44
35: ; preds = %14
%36 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %44
37: ; preds = %14
%38 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
br label %44
39: ; preds = %14
%40 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %44
41: ; preds = %14
%42 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
br label %44
43: ; preds = %14
br label %44
44: ; preds = %43, %41, %39, %37, %35, %33, %31, %29, %27, %25
%45 = load i32, i32* %4
switch i32 %45, label %64 [
i32 1, label %46
i32 2, label %48
i32 3, label %50
i32 4, label %52
i32 5, label %54
i32 6, label %56
i32 7, label %58
i32 8, label %60
i32 9, label %62
]
46: ; preds = %44
%47 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %65
48: ; preds = %44
%49 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
br label %65
50: ; preds = %44
%51 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
br label %65
52: ; preds = %44
%53 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
br label %65
54: ; preds = %44
%55 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
br label %65
56: ; preds = %44
%57 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
br label %65
58: ; preds = %44
%59 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
br label %65
60: ; preds = %44
%61 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
br label %65
62: ; preds = %44
%63 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
br label %65
64: ; preds = %44
br label %65
65: ; preds = %64, %62, %60, %58, %56, %54, %52, %50, %48, %46
%66 = load i32, i32* %3
switch i32 %66, label %85 [
i32 1, label %67
i32 2, label %69
i32 3, label %71
i32 4, label %73
i32 5, label %75
i32 6, label %77
i32 7, label %79
i32 8, label %81
i32 9, label %83
]
67: ; preds = %65
%68 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
br label %86
69: ; preds = %65
%70 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %86
71: ; preds = %65
%72 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
br label %86
73: ; preds = %65
%74 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %86
75: ; preds = %65
%76 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0))
br label %86
77: ; preds = %65
%78 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0))
br label %86
79: ; preds = %65
%80 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %86
81: ; preds = %65
%82 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
br label %86
83: ; preds = %65
%84 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %86
85: ; preds = %65
br label %86
86: ; preds = %85, %83, %81, %79, %77, %75, %73, %71, %69, %67
%87 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.28, i64 0, i64 0))
store i32 0, i32* %1
br label %88
88: ; preds = %86, %13
%89 = load i32, i32* %1
ret i32 %89
}

LLVM IR (-O2):
@.str = [20 x i8] c"Insira um n\C3\BAmero: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.3 = [3 x i8] c"CC\00"
@.str.4 = [4 x i8] c"CCC\00"
@.str.5 = [3 x i8] c"CD\00"
@.str.7 = [3 x i8] c"DC\00"
@.str.8 = [4 x i8] c"DCC\00"
@.str.9 = [5 x i8] c"DCCC\00"
@.str.10 = [3 x i8] c"CM\00"
@.str.12 = [3 x i8] c"XX\00"
@.str.13 = [4 x i8] c"XXX\00"
@.str.14 = [3 x i8] c"XL\00"
@.str.16 = [3 x i8] c"LX\00"
@.str.17 = [4 x i8] c"LXX\00"
@.str.18 = [5 x i8] c"LXXX\00"
@.str.19 = [3 x i8] c"XC\00"
@.str.21 = [3 x i8] c"II\00"
@.str.22 = [4 x i8] c"III\00"
@.str.23 = [3 x i8] c"IX\00"
@.str.25 = [3 x i8] c"VI\00"
@.str.26 = [4 x i8] c"VII\00"
@.str.27 = [5 x i8] c"VIII\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%5 = load i32, i32* %1
%6 = add i32 %5, -1000
%7 = icmp ult i32 %6, -999
br i1 %7, label %76, label %8
8: ; preds = %0
%9 = trunc i32 %5 to i16
%10 = urem i16 %9, 10
%11 = zext i16 %10 to i32
%12 = udiv i16 %9, 10
%13 = trunc i16 %12 to i8
%14 = urem i8 %13, 10
%15 = zext i8 %14 to i32
%16 = udiv i16 %9, 100
%17 = zext i16 %16 to i32
store i32 %17, i32* %1
switch i32 %17, label %36 [
i32 1, label %18
i32 2, label %20
i32 3, label %22
i32 4, label %24
i32 5, label %26
i32 6, label %28
i32 7, label %30
i32 8, label %32
i32 9, label %34
]
18: ; preds = %8
%19 = call i32 @putchar(i32 67)
br label %36
20: ; preds = %8
%21 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %36
22: ; preds = %8
%23 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %36
24: ; preds = %8
%25 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %36
26: ; preds = %8
%27 = call i32 @putchar(i32 68)
br label %36
28: ; preds = %8
%29 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %36
30: ; preds = %8
%31 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
br label %36
32: ; preds = %8
%33 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %36
34: ; preds = %8
%35 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
br label %36
36: ; preds = %8, %34, %32, %30, %28, %26, %24, %22, %20, %18
switch i32 %15, label %55 [
i32 1, label %37
i32 2, label %39
i32 3, label %41
i32 4, label %43
i32 5, label %45
i32 6, label %47
i32 7, label %49
i32 8, label %51
i32 9, label %53
]
37: ; preds = %36
%38 = call i32 @putchar(i32 88)
br label %55
39: ; preds = %36
%40 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
br label %55
41: ; preds = %36
%42 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
br label %55
43: ; preds = %36
%44 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
br label %55
45: ; preds = %36
%46 = call i32 @putchar(i32 76)
br label %55
47: ; preds = %36
%48 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
br label %55
49: ; preds = %36
%50 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
br label %55
51: ; preds = %36
%52 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
br label %55
53: ; preds = %36
%54 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
br label %55
55: ; preds = %36, %53, %51, %49, %47, %45, %43, %41, %39, %37
switch i32 %11, label %74 [
i32 1, label %56
i32 2, label %58
i32 3, label %60
i32 4, label %62
i32 5, label %64
i32 6, label %66
i32 7, label %68
i32 8, label %70
i32 9, label %72
]
56: ; preds = %55
%57 = call i32 @putchar(i32 73)
br label %74
58: ; preds = %55
%59 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %74
60: ; preds = %55
%61 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
br label %74
62: ; preds = %55
%63 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %74
64: ; preds = %55
%65 = call i32 @putchar(i32 86)
br label %74
66: ; preds = %55
%67 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0))
br label %74
68: ; preds = %55
%69 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %74
70: ; preds = %55
%71 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
br label %74
72: ; preds = %55
%73 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %74
74: ; preds = %55, %72, %70, %68, %66, %64, %62, %60, %58, %56
%75 = call i32 @putchar(i32 10)
br label %76
76: ; preds = %0, %74
%77 = phi i32 [ 0, %74 ], [ -1, %0 ]
ret i32 %77
}