#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(void) {
  int array[100] = {};
  int i, n, flag = 0;
  scanf("%d", &n);
  for (i = 0; i < 100; i++) {
    array[i] = i + 1;
  }
  for (i = 0; i < 100; i++) {
    if (n == array[i]) {
      flag = 1;
      break;
    }
  }
  if (1 == flag)
    printf("YES");
  else
    printf("NO");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1b0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x1a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x190,%edx
call   1040 <memset@plt>
movl   $0x0,-0x1ac(%rbp)
lea    0xe9a(%rip),%rdi
lea    -0x1a8(%rbp),%rsi
call   1050 <scanf@plt>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0x64,-0x1a4(%rbp)
jge    11b4 <main+0x84>
mov    -0x1a4(%rbp),%ecx
add    $0x1,%ecx
movslq -0x1a4(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    117c <main+0x4c>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0x64,-0x1a4(%rbp)
jge    120d <main+0xdd>
mov    -0x1a8(%rbp),%eax
movslq -0x1a4(%rbp),%rcx
cmp    -0x1a0(%rbp,%rcx,4),%eax
jne    11f4 <main+0xc4>
movl   $0x1,-0x1ac(%rbp)
jmp    120d <main+0xdd>
jmp    11f9 <main+0xc9>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    11be <main+0x8e>
mov    $0x1,%eax
cmp    -0x1ac(%rbp),%eax
jne    122f <main+0xff>
lea    0xdde(%rip),%rdi
call   1030 <printf@plt>
jmp    123b <main+0x10b>
lea    0xdd1(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x1b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x1a8,%rsp
lea    0x10(%rsp),%rdi
mov    $0x190,%edx
xor    %esi,%esi
call   1040 <memset@plt>
lea    0x1041(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
movaps 0xea0(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xea4(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xea8(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xeac(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xeb0(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xeb4(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xeb8(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xebc(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xebd(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xebe(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xebf(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xec0(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xec1(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xec2(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xec3(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xec4(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xec5(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xec6(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movaps 0xec7(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
movaps 0xec8(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movaps 0xec9(%rip),%xmm0
movaps %xmm0,0x150(%rsp)
movaps 0xeca(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xecb(%rip),%xmm0
movaps %xmm0,0x170(%rsp)
movaps 0xecc(%rip),%xmm0
movaps %xmm0,0x180(%rsp)
movaps 0xecd(%rip),%xmm0
movaps %xmm0,0x190(%rsp)
mov    $0x4,%eax
mov    0xc(%rsp),%ecx
lea    0xec8(%rip),%rdi
lea    0xec5(%rip),%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
cmp    (%rsp,%rax,4),%ecx
je     130a <main+0x1da>
cmp    0x4(%rsp,%rax,4),%ecx
je     130a <main+0x1da>
cmp    0x8(%rsp,%rax,4),%ecx
je     130a <main+0x1da>
cmp    0xc(%rsp,%rax,4),%ecx
je     130a <main+0x1da>
cmp    0x10(%rsp,%rax,4),%ecx
je     130a <main+0x1da>
add    $0x5,%rax
cmp    $0x68,%rax
jne    12e0 <main+0x1b0>
mov    %rdx,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x1a8,%rsp
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 [100 x i32]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = bitcast [100 x i32]* %2 to i8*
store i32 0, i32* %5
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
store i32 0, i32* %3
br label %8
8: ; preds = %17, %0
%9 = load i32, i32* %3
%10 = icmp slt i32 %9, 100
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, i32* %3
%13 = add nsw i32 %12, 1
%14 = load i32, i32* %3
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %15
store i32 %13, i32* %16
br label %17
17: ; preds = %11
%18 = load i32, i32* %3
%19 = add nsw i32 %18, 1
store i32 %19, i32* %3
br label %8
20: ; preds = %8
store i32 0, i32* %3
br label %21
21: ; preds = %33, %20
%22 = load i32, i32* %3
%23 = icmp slt i32 %22, 100
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i32, i32* %4
%26 = load i32, i32* %3
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %27
%29 = load i32, i32* %28
%30 = icmp eq i32 %25, %29
br i1 %30, label %31, label %32
31: ; preds = %24
store i32 1, i32* %5
br label %36
32: ; preds = %24
br label %33
33: ; preds = %32
%34 = load i32, i32* %3
%35 = add nsw i32 %34, 1
store i32 %35, i32* %3
br label %21
36: ; preds = %31, %21
%37 = load i32, i32* %5
%38 = icmp eq i32 1, %37
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %43
41: ; preds = %36
%42 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %43
43: ; preds = %41, %39
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 [100 x i32]
%2 = alloca i32
%3 = bitcast [100 x i32]* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%6 = bitcast [100 x i32]* %1 to <4 x i32>*
store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, <4 x i32>* %6
%7 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 4
%8 = bitcast i32* %7 to <4 x i32>*
store <4 x i32> <i32 5, i32 6, i32 7, i32 8>, <4 x i32>* %8
%9 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 8
%10 = bitcast i32* %9 to <4 x i32>*
store <4 x i32> <i32 9, i32 10, i32 11, i32 12>, <4 x i32>* %10
%11 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 12
%12 = bitcast i32* %11 to <4 x i32>*
store <4 x i32> <i32 13, i32 14, i32 15, i32 16>, <4 x i32>* %12
%13 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 16
%14 = bitcast i32* %13 to <4 x i32>*
store <4 x i32> <i32 17, i32 18, i32 19, i32 20>, <4 x i32>* %14
%15 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 20
%16 = bitcast i32* %15 to <4 x i32>*
store <4 x i32> <i32 21, i32 22, i32 23, i32 24>, <4 x i32>* %16
%17 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 24
%18 = bitcast i32* %17 to <4 x i32>*
store <4 x i32> <i32 25, i32 26, i32 27, i32 28>, <4 x i32>* %18
%19 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 28
%20 = bitcast i32* %19 to <4 x i32>*
store <4 x i32> <i32 29, i32 30, i32 31, i32 32>, <4 x i32>* %20
%21 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 32
%22 = bitcast i32* %21 to <4 x i32>*
store <4 x i32> <i32 33, i32 34, i32 35, i32 36>, <4 x i32>* %22
%23 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 36
%24 = bitcast i32* %23 to <4 x i32>*
store <4 x i32> <i32 37, i32 38, i32 39, i32 40>, <4 x i32>* %24
%25 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 40
%26 = bitcast i32* %25 to <4 x i32>*
store <4 x i32> <i32 41, i32 42, i32 43, i32 44>, <4 x i32>* %26
%27 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 44
%28 = bitcast i32* %27 to <4 x i32>*
store <4 x i32> <i32 45, i32 46, i32 47, i32 48>, <4 x i32>* %28
%29 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 48
%30 = bitcast i32* %29 to <4 x i32>*
store <4 x i32> <i32 49, i32 50, i32 51, i32 52>, <4 x i32>* %30
%31 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 52
%32 = bitcast i32* %31 to <4 x i32>*
store <4 x i32> <i32 53, i32 54, i32 55, i32 56>, <4 x i32>* %32
%33 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 56
%34 = bitcast i32* %33 to <4 x i32>*
store <4 x i32> <i32 57, i32 58, i32 59, i32 60>, <4 x i32>* %34
%35 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 60
%36 = bitcast i32* %35 to <4 x i32>*
store <4 x i32> <i32 61, i32 62, i32 63, i32 64>, <4 x i32>* %36
%37 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 64
%38 = bitcast i32* %37 to <4 x i32>*
store <4 x i32> <i32 65, i32 66, i32 67, i32 68>, <4 x i32>* %38
%39 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 68
%40 = bitcast i32* %39 to <4 x i32>*
store <4 x i32> <i32 69, i32 70, i32 71, i32 72>, <4 x i32>* %40
%41 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 72
%42 = bitcast i32* %41 to <4 x i32>*
store <4 x i32> <i32 73, i32 74, i32 75, i32 76>, <4 x i32>* %42
%43 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 76
%44 = bitcast i32* %43 to <4 x i32>*
store <4 x i32> <i32 77, i32 78, i32 79, i32 80>, <4 x i32>* %44
%45 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 80
%46 = bitcast i32* %45 to <4 x i32>*
store <4 x i32> <i32 81, i32 82, i32 83, i32 84>, <4 x i32>* %46
%47 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 84
%48 = bitcast i32* %47 to <4 x i32>*
store <4 x i32> <i32 85, i32 86, i32 87, i32 88>, <4 x i32>* %48
%49 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 88
%50 = bitcast i32* %49 to <4 x i32>*
store <4 x i32> <i32 89, i32 90, i32 91, i32 92>, <4 x i32>* %50
%51 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 92
%52 = bitcast i32* %51 to <4 x i32>*
store <4 x i32> <i32 93, i32 94, i32 95, i32 96>, <4 x i32>* %52
%53 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 96
%54 = bitcast i32* %53 to <4 x i32>*
store <4 x i32> <i32 97, i32 98, i32 99, i32 100>, <4 x i32>* %54
%55 = load i32, i32* %2
br label %79
56: ; preds = %79
%57 = add nuw nsw i64 %80, 1
%58 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = icmp eq i32 %55, %59
br i1 %60, label %84, label %61
61: ; preds = %56
%62 = add nuw nsw i64 %80, 2
%63 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = icmp eq i32 %55, %64
br i1 %65, label %84, label %66
66: ; preds = %61
%67 = add nuw nsw i64 %80, 3
%68 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %67
%69 = load i32, i32* %68
%70 = icmp eq i32 %55, %69
br i1 %70, label %84, label %71
71: ; preds = %66
%72 = add nuw nsw i64 %80, 4
%73 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = icmp eq i32 %55, %74
br i1 %75, label %84, label %76
76: ; preds = %71
%77 = add nuw nsw i64 %80, 5
%78 = icmp eq i64 %77, 100
br i1 %78, label %84, label %79
79: ; preds = %76, %0
%80 = phi i64 [ 0, %0 ], [ %77, %76 ]
%81 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %80
%82 = load i32, i32* %81
%83 = icmp eq i32 %55, %82
br i1 %83, label %84, label %56
84: ; preds = %76, %71, %66, %61, %56, %79
%85 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %79 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %56 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %61 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %66 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %71 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), %76 ]
%86 = call i32 @printf(i8* dereferenceable(1) %85)
ret i32 0
}