#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 /*<<< orphan*/ system(char *);
main() {
  int A;
  scanf("%d", &A);
  if (A >= 1 && A <= 12) {
    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");
  }
  system("pause");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeba(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x1,-0x8(%rbp)
jl     12de <main+0x1ae>
cmpl   $0xc,-0x8(%rbp)
jg     12de <main+0x1ae>
cmpl   $0x1,-0x8(%rbp)
jne    117e <main+0x4e>
lea    0xe8f(%rip),%rdi
call   1040 <printf@plt>
jmp    12d9 <main+0x1a9>
cmpl   $0x2,-0x8(%rbp)
jne    1199 <main+0x69>
lea    0xe7d(%rip),%rdi
call   1040 <printf@plt>
jmp    12d4 <main+0x1a4>
cmpl   $0x3,-0x8(%rbp)
jne    11b4 <main+0x84>
lea    0xe6c(%rip),%rdi
call   1040 <printf@plt>
jmp    12cf <main+0x19f>
cmpl   $0x4,-0x8(%rbp)
jne    11cf <main+0x9f>
lea    0xe58(%rip),%rdi
call   1040 <printf@plt>
jmp    12ca <main+0x19a>
cmpl   $0x5,-0x8(%rbp)
jne    11ea <main+0xba>
lea    0xe44(%rip),%rdi
call   1040 <printf@plt>
jmp    12c5 <main+0x195>
cmpl   $0x6,-0x8(%rbp)
jne    1205 <main+0xd5>
lea    0xe2e(%rip),%rdi
call   1040 <printf@plt>
jmp    12c0 <main+0x190>
cmpl   $0x7,-0x8(%rbp)
jne    1220 <main+0xf0>
lea    0xe19(%rip),%rdi
call   1040 <printf@plt>
jmp    12bb <main+0x18b>
cmpl   $0x8,-0x8(%rbp)
jne    123b <main+0x10b>
lea    0xe04(%rip),%rdi
call   1040 <printf@plt>
jmp    12b6 <main+0x186>
cmpl   $0x9,-0x8(%rbp)
jne    1256 <main+0x126>
lea    0xdf1(%rip),%rdi
call   1040 <printf@plt>
jmp    12b1 <main+0x181>
cmpl   $0xa,-0x8(%rbp)
jne    1271 <main+0x141>
lea    0xde1(%rip),%rdi
call   1040 <printf@plt>
jmp    12ac <main+0x17c>
cmpl   $0xb,-0x8(%rbp)
jne    128c <main+0x15c>
lea    0xdcf(%rip),%rdi
call   1040 <printf@plt>
jmp    12a7 <main+0x177>
cmpl   $0xc,-0x8(%rbp)
jne    12a2 <main+0x172>
lea    0xdbe(%rip),%rdi
call   1040 <printf@plt>
jmp    12a7 <main+0x177>
jmp    12ac <main+0x17c>
jmp    12b1 <main+0x181>
jmp    12b6 <main+0x186>
jmp    12bb <main+0x18b>
jmp    12c0 <main+0x190>
jmp    12c5 <main+0x195>
jmp    12ca <main+0x19a>
jmp    12cf <main+0x19f>
jmp    12d4 <main+0x1a4>
jmp    12d9 <main+0x1a9>
jmp    12de <main+0x1ae>
lea    0xd80(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x4(%rsp),%eax
add    $0xffffffff,%eax
cmp    $0xb,%eax
ja     116e <main+0x3e>
jae    1162 <main+0x32>
cltq
lea    0xf07(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
jmp    1169 <main+0x39>
lea    0xea0(%rip),%rdi
call   1030 <puts@plt>
lea    0xe8e(%rip),%rdi
call   1040 <system@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"
@.str.13 = [6 x i8] c"pause\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 sge i32 %4, 1
br i1 %5, label %6, label %81
6: ; preds = %0
%7 = load i32, i32* %2
%8 = icmp sle i32 %7, 12
br i1 %8, label %9, label %81
9: ; preds = %6
%10 = load i32, i32* %2
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
br label %80
14: ; preds = %9
%15 = load i32, i32* %2
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %79
19: ; preds = %14
%20 = load i32, i32* %2
%21 = icmp eq i32 %20, 3
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %78
24: ; preds = %19
%25 = load i32, i32* %2
%26 = icmp eq i32 %25, 4
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %77
29: ; preds = %24
%30 = load i32, i32* %2
%31 = icmp eq i32 %30, 5
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %76
34: ; preds = %29
%35 = load i32, i32* %2
%36 = icmp eq i32 %35, 6
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %75
39: ; preds = %34
%40 = load i32, i32* %2
%41 = icmp eq i32 %40, 7
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br label %74
44: ; preds = %39
%45 = load i32, i32* %2
%46 = icmp eq i32 %45, 8
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %73
49: ; preds = %44
%50 = load i32, i32* %2
%51 = icmp eq i32 %50, 9
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
br label %72
54: ; preds = %49
%55 = load i32, i32* %2
%56 = icmp eq i32 %55, 10
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
br label %71
59: ; preds = %54
%60 = load i32, i32* %2
%61 = icmp eq i32 %60, 11
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
br label %70
64: ; preds = %59
%65 = load i32, i32* %2
%66 = icmp eq i32 %65, 12
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
br label %69
69: ; preds = %67, %64
br label %70
70: ; preds = %69, %62
br label %71
71: ; preds = %70, %57
br label %72
72: ; preds = %71, %52
br label %73
73: ; preds = %72, %47
br label %74
74: ; preds = %73, %42
br label %75
75: ; preds = %74, %37
br label %76
76: ; preds = %75, %32
br label %77
77: ; preds = %76, %27
br label %78
78: ; preds = %77, %22
br label %79
79: ; preds = %78, %17
br label %80
80: ; preds = %79, %12
br label %81
81: ; preds = %80, %6, %0
%82 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}

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