#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*/ scanf(char *, int *, int *);
int main() {
  int a, b;
  scanf("%d\n%d", &a, &b);
  for (; a <= b; a++) {
    switch (a) {
    case 1:
      printf("one\n");
      break;
    case 2:
      printf("two\n");
      break;
    case 3:
      printf("three\n");
      break;
    case 4:
      printf("four\n");
      break;
    case 5:
      printf("five\n");
      break;
    case 6:
      printf("six\n");
      break;
    case 7:
      printf("seven\n");
      break;
    case 8:
      printf("eight\n");
      break;
    case 9:
      printf("nine\n");
      break;
    default:
      break;
    }
    if (a > 9) {
      if (a % 2 == 0) {
        printf("even\n");
      } else {
        printf("odd\n");
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeee(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     1269 <main+0x149>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x8,%eax
ja     1211 <main+0xf1>
mov    -0x18(%rbp),%rax
lea    0xe91(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeab(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe9f(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe93(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe7e(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe73(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe67(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe5d(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
lea    0xe53(%rip),%rdi
call   1030 <printf@plt>
jmp    1216 <main+0xf6>
jmp    1216 <main+0xf6>
cmpl   $0x9,-0x8(%rbp)
jle    1256 <main+0x136>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1245 <main+0x125>
lea    0xe12(%rip),%rdi
call   1030 <printf@plt>
jmp    1251 <main+0x131>
lea    0xe14(%rip),%rdi
call   1030 <printf@plt>
jmp    1256 <main+0x136>
jmp    125b <main+0x13b>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1143 <main+0x23>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xed0(%rip),%rdi
lea    0x8(%rsp),%rsi
lea    0xc(%rsp),%rdx
call   1040 <scanf@plt>
mov    0x8(%rsp),%eax
cmp    0xc(%rsp),%eax
jle    1155 <main+0x35>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xedc(%rip),%rbx
lea    0xeb3(%rip),%r14
lea    0xea1(%rip),%r15
jmp    1181 <main+0x61>
nopl   0x0(%rax)
mov    0x8(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x8(%rsp)
cmp    0xc(%rsp),%ecx
jge    1149 <main+0x29>
add    $0xffffffff,%eax
cmp    $0x8,%eax
ja     1197 <main+0x77>
cltq
movslq (%rbx,%rax,4),%rdi
add    %rbx,%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%eax
cmp    $0xa,%eax
jl     1170 <main+0x50>
test   $0x1,%al
mov    %r15,%rdi
cmove  %r14,%rdi
call   1030 <puts@plt>
jmp    1170 <main+0x50>

LLVM IR (-O0):
@.str = [6 x i8] c"%d\0A%d\00"
@.str.1 = [5 x i8] c"one\0A\00"
@.str.2 = [5 x i8] c"two\0A\00"
@.str.3 = [7 x i8] c"three\0A\00"
@.str.4 = [6 x i8] c"four\0A\00"
@.str.5 = [6 x i8] c"five\0A\00"
@.str.6 = [5 x i8] c"six\0A\00"
@.str.7 = [7 x i8] c"seven\0A\00"
@.str.8 = [7 x i8] c"eight\0A\00"
@.str.9 = [6 x i8] c"nine\0A\00"
@.str.10 = [6 x i8] c"even\0A\00"
@.str.11 = [5 x i8] c"odd\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3)
br label %5
5: ; preds = %43, %0
%6 = load i32, i32* %2
%7 = load i32, i32* %3
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %46
9: ; preds = %5
%10 = load i32, i32* %2
switch i32 %10, label %29 [
i32 1, label %11
i32 2, label %13
i32 3, label %15
i32 4, label %17
i32 5, label %19
i32 6, label %21
i32 7, label %23
i32 8, label %25
i32 9, label %27
]
11: ; preds = %9
%12 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %30
13: ; preds = %9
%14 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %30
15: ; preds = %9
%16 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %30
17: ; preds = %9
%18 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %30
19: ; preds = %9
%20 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
br label %30
21: ; preds = %9
%22 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %30
23: ; preds = %9
%24 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
br label %30
25: ; preds = %9
%26 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
br label %30
27: ; preds = %9
%28 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %30
29: ; preds = %9
br label %30
30: ; preds = %29, %27, %25, %23, %21, %19, %17, %15, %13, %11
%31 = load i32, i32* %2
%32 = icmp sgt i32 %31, 9
br i1 %32, label %33, label %42
33: ; preds = %30
%34 = load i32, i32* %2
%35 = srem i32 %34, 2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
br label %41
39: ; preds = %33
%40 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
br label %41
41: ; preds = %39, %37
br label %42
42: ; preds = %41, %30
br label %43
43: ; preds = %42
%44 = load i32, i32* %2
%45 = add nsw i32 %44, 1
store i32 %45, i32* %2
br label %5
46: ; preds = %5
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"%d\0A%d\00"
@str = [5 x i8] c"nine\00"
@str.12 = [4 x i8] c"odd\00"
@str.13 = [5 x i8] c"even\00"
@str.14 = [6 x i8] c"eight\00"
@str.15 = [6 x i8] c"seven\00"
@str.16 = [4 x i8] c"six\00"
@str.17 = [5 x i8] c"five\00"
@str.18 = [5 x i8] c"four\00"
@str.19 = [6 x i8] c"three\00"
@str.20 = [4 x i8] c"two\00"
@str.21 = [4 x i8] c"one\00"
@reltable.main = [9 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.21 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.20 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.19 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str.18 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str.17 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.16 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.15 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.14 to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str to i64), i64 ptrtoint ([9 x i32]* @reltable.main to i64)) to i32)]
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2)
%6 = load i32, i32* %1
%7 = load i32, i32* %2
%8 = icmp sgt i32 %6, %7
br i1 %8, label %31, label %9
9: ; preds = %0, %26
%10 = phi i32 [ %28, %26 ], [ %6, %0 ]
%11 = add i32 %10, -1
%12 = icmp ult i32 %11, 9
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = sext i32 %11 to i64
%15 = shl i64 %14, 2
%16 = call i8* @llvm.load.relative.i64(i8* bitcast ([9 x i32]* @reltable.main to i8*), i64 %15)
%17 = call i32 @puts(i8* dereferenceable(1) %16)
br label %18
18: ; preds = %9, %13
%19 = load i32, i32* %1
%20 = icmp sgt i32 %19, 9
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = and i32 %19, 1
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @str.12, i64 0, i64 0)
%25 = call i32 @puts(i8* dereferenceable(1) %24)
br label %26
26: ; preds = %21, %18
%27 = load i32, i32* %1
%28 = add nsw i32 %27, 1
store i32 %28, i32* %1
%29 = load i32, i32* %2
%30 = icmp slt i32 %27, %29
br i1 %30, label %9, label %31
31: ; preds = %26, %0
ret i32 0
}