#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 f;
  scanf("%d", &f);
  int can = ((float)((12 - f) * 3) / 4.0 <= 4.0) ? 1 : 0;
  switch (can) {
  case 1:
    printf("YES");
    break;
  case 0:
    printf("NO");
    break;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xed2(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    $0xc,%ecx
sub    %eax,%ecx
mov    %ecx,%eax
lea    (%rax,%rax,2),%eax
cvtsi2ss %eax,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xea2(%rip),%xmm0
divsd  %xmm0,%xmm1
ucomisd %xmm1,%xmm0
setae  %al
movzbl %al,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
test   %eax,%eax
je     11a4 <main+0x84>
jmp    1182 <main+0x62>
mov    -0x10(%rbp),%eax
sub    $0x1,%eax
jne    11b0 <main+0x90>
jmp    1193 <main+0x73>
lea    0xe71(%rip),%rdi
call   1030 <printf@plt>
jmp    11b0 <main+0x90>
lea    0xe64(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
mov    $0xc,%eax
sub    0x4(%rsp),%eax
lea    (%rax,%rax,2),%eax
cvtsi2ss %eax,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xeb2(%rip),%xmm0
movsd  0xeb2(%rip),%xmm1
ucomisd %xmm0,%xmm1
lea    0xeb6(%rip),%rax
lea    0xeab(%rip),%rdi
cmovb  %rax,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [4 x i8] c"YES\00"
@.str.2 = [3 x i8] c"NO\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 ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%5 = load i32, i32* %2
%6 = sub nsw i32 12, %5
%7 = mul nsw i32 %6, 3
%8 = sitofp i32 %7 to float
%9 = fpext float %8 to double
%10 = fdiv double %9, 4.000000e+00
%11 = fcmp ole double %10, 4.000000e+00
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 1, i32 0
store i32 %13, i32* %3
%14 = load i32, i32* %3
switch i32 %14, label %19 [
i32 1, label %15
i32 0, label %17
]
15: ; preds = %0
%16 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %19
17: ; preds = %0
%18 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %19
19: ; preds = %0, %17, %15
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [4 x i8] c"YES\00"
@.str.2 = [3 x i8] c"NO\00"
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 = sub nsw i32 12, %4
%6 = mul nsw i32 %5, 3
%7 = sitofp i32 %6 to float
%8 = fpext float %7 to double
%9 = fmul double %8, 2.500000e-01
%10 = fcmp ugt double %9, 4.000000e+00
%11 = select i1 %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
%12 = call i32 @printf(i8* dereferenceable(1) %11)
ret i32 0
}