#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 main() {
  int a;
  scanf("%d", &a);
  if (a == 1) {
    printf("January\n");
  } else if (a == 2) {
    printf("February\n");
  } else if (a == 3) {
    printf("March\n");
  } else if (a == 4) {
    printf("April\n");
  } else if (a == 5) {
    printf("May\n");
  } else if (a == 6) {
    printf("June\n");
  } else if (a == 7) {
    printf("July\n");
  } else if (a == 8) {
    printf("August\n");
  } else if (a == 9) {
    printf("September\n");
  } else if (a == 10) {
    printf("October\n");
  } else if (a == 11) {
    printf("November\n");
  } else if (a == 12) {
    printf("December\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
cmpl   $0x1,-0x8(%rbp)
jne    115a <main+0x3a>
lea    0xeb3(%rip),%rdi
call   1030 <printf@plt>
jmp    12b5 <main+0x195>
cmpl   $0x2,-0x8(%rbp)
jne    1175 <main+0x55>
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
jmp    12b0 <main+0x190>
cmpl   $0x3,-0x8(%rbp)
jne    1190 <main+0x70>
lea    0xe90(%rip),%rdi
call   1030 <printf@plt>
jmp    12ab <main+0x18b>
cmpl   $0x4,-0x8(%rbp)
jne    11ab <main+0x8b>
lea    0xe7c(%rip),%rdi
call   1030 <printf@plt>
jmp    12a6 <main+0x186>
cmpl   $0x5,-0x8(%rbp)
jne    11c6 <main+0xa6>
lea    0xe68(%rip),%rdi
call   1030 <printf@plt>
jmp    12a1 <main+0x181>
cmpl   $0x6,-0x8(%rbp)
jne    11e1 <main+0xc1>
lea    0xe52(%rip),%rdi
call   1030 <printf@plt>
jmp    129c <main+0x17c>
cmpl   $0x7,-0x8(%rbp)
jne    11fc <main+0xdc>
lea    0xe3d(%rip),%rdi
call   1030 <printf@plt>
jmp    1297 <main+0x177>
cmpl   $0x8,-0x8(%rbp)
jne    1217 <main+0xf7>
lea    0xe28(%rip),%rdi
call   1030 <printf@plt>
jmp    1292 <main+0x172>
cmpl   $0x9,-0x8(%rbp)
jne    1232 <main+0x112>
lea    0xe15(%rip),%rdi
call   1030 <printf@plt>
jmp    128d <main+0x16d>
cmpl   $0xa,-0x8(%rbp)
jne    124d <main+0x12d>
lea    0xe05(%rip),%rdi
call   1030 <printf@plt>
jmp    1288 <main+0x168>
cmpl   $0xb,-0x8(%rbp)
jne    1268 <main+0x148>
lea    0xdf3(%rip),%rdi
call   1030 <printf@plt>
jmp    1283 <main+0x163>
cmpl   $0xc,-0x8(%rbp)
jne    127e <main+0x15e>
lea    0xde2(%rip),%rdi
call   1030 <printf@plt>
jmp    1283 <main+0x163>
jmp    1288 <main+0x168>
jmp    128d <main+0x16d>
jmp    1292 <main+0x172>
jmp    1297 <main+0x177>
jmp    129c <main+0x17c>
jmp    12a1 <main+0x181>
jmp    12a6 <main+0x186>
jmp    12ab <main+0x18b>
jmp    12b0 <main+0x190>
jmp    12b5 <main+0x195>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
mov    0x4(%rsp),%eax
add    $0xffffffff,%eax
cmp    $0xb,%eax
ja     1153 <main+0x33>
cltq
lea    0xf15(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [9 x i8] c"January\0A\00"
@.str.2 = [10 x i8] c"February\0A\00"
@.str.3 = [7 x i8] c"March\0A\00"
@.str.4 = [7 x i8] c"April\0A\00"
@.str.5 = [5 x i8] c"May\0A\00"
@.str.6 = [6 x i8] c"June\0A\00"
@.str.7 = [6 x i8] c"July\0A\00"
@.str.8 = [8 x i8] c"August\0A\00"
@.str.9 = [11 x i8] c"September\0A\00"
@.str.10 = [9 x i8] c"October\0A\00"
@.str.11 = [10 x i8] c"November\0A\00"
@.str.12 = [10 x i8] c"December\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%4 = load i32, i32* %2
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
br label %74
8: ; preds = %0
%9 = load i32, i32* %2
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %73
13: ; preds = %8
%14 = load i32, i32* %2
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %72
18: ; preds = %13
%19 = load i32, i32* %2
%20 = icmp eq i32 %19, 4
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %71
23: ; preds = %18
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 5
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %70
28: ; preds = %23
%29 = load i32, i32* %2
%30 = icmp eq i32 %29, 6
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %69
33: ; preds = %28
%34 = load i32, i32* %2
%35 = icmp eq i32 %34, 7
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br label %68
38: ; preds = %33
%39 = load i32, i32* %2
%40 = icmp eq i32 %39, 8
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %67
43: ; preds = %38
%44 = load i32, i32* %2
%45 = icmp eq i32 %44, 9
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
br label %66
48: ; preds = %43
%49 = load i32, i32* %2
%50 = icmp eq i32 %49, 10
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
br label %65
53: ; preds = %48
%54 = load i32, i32* %2
%55 = icmp eq i32 %54, 11
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
br label %64
58: ; preds = %53
%59 = load i32, i32* %2
%60 = icmp eq i32 %59, 12
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
br label %63
63: ; preds = %61, %58
br label %64
64: ; preds = %63, %56
br label %65
65: ; preds = %64, %51
br label %66
66: ; preds = %65, %46
br label %67
67: ; preds = %66, %41
br label %68
68: ; preds = %67, %36
br label %69
69: ; preds = %68, %31
br label %70
70: ; preds = %69, %26
br label %71
71: ; preds = %70, %21
br label %72
72: ; preds = %71, %16
br label %73
73: ; preds = %72, %11
br label %74
74: ; preds = %73, %6
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@str = [9 x i8] c"December\00"
@str.13 = [9 x i8] c"November\00"
@str.14 = [8 x i8] c"October\00"
@str.15 = [10 x i8] c"September\00"
@str.16 = [7 x i8] c"August\00"
@str.17 = [5 x i8] c"July\00"
@str.18 = [5 x i8] c"June\00"
@str.19 = [4 x i8] c"May\00"
@str.20 = [6 x i8] c"April\00"
@str.21 = [6 x i8] c"March\00"
@str.22 = [9 x i8] c"February\00"
@str.23 = [8 x i8] c"January\00"
@reltable.main = [12 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @str.23 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.22 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.21 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.20 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.19 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str.18 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str.17 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @str.16 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.15 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @str.14 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.13 to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str to i64), i64 ptrtoint ([12 x i32]* @reltable.main to i64)) to i32)]
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%4 = load i32, i32* %1
%5 = add i32 %4, -1
%6 = icmp ult i32 %5, 12
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = sext i32 %5 to i64
%9 = shl i64 %8, 2
%10 = call i8* @llvm.load.relative.i64(i8* bitcast ([12 x i32]* @reltable.main to i8*), i64 %9)
%11 = call i32 @puts(i8* dereferenceable(1) %10)
br label %12
12: ; preds = %0, %7
ret i32 0
}