#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 *);
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if (a >= 168 && b >= 168 && c >= 168)
    printf("NO CRASH\n");
  if (a < 168)
    printf("CRASH %d\n", a);
  if (b < 168)
    printf("CRASH %d\n", b);
  if (c < 168)
    printf("CRASH %d\n", c);
  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
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1040 <scanf@plt>
cmpl   $0xa8,-0x8(%rbp)
jl     117c <main+0x5c>
cmpl   $0xa8,-0xc(%rbp)
jl     117c <main+0x5c>
cmpl   $0xa8,-0x10(%rbp)
jl     117c <main+0x5c>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa8,-0x8(%rbp)
jge    119a <main+0x7a>
mov    -0x8(%rbp),%esi
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa8,-0xc(%rbp)
jge    11b8 <main+0x98>
mov    -0xc(%rbp),%esi
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa8,-0x10(%rbp)
jge    11d6 <main+0xb6>
mov    -0x10(%rbp),%esi
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xec5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1050 <scanf@plt>
mov    0x14(%rsp),%esi
cmp    $0xa8,%esi
jl     117f <main+0x4f>
cmpl   $0xa8,0x10(%rsp)
jl     117f <main+0x4f>
cmpl   $0xa8,0xc(%rsp)
jl     117f <main+0x4f>
lea    0xe9d(%rip),%rdi
call   1030 <puts@plt>
mov    0x14(%rsp),%esi
cmp    $0xa7,%esi
jg     1195 <main+0x65>
lea    0xe7b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%esi
cmp    $0xa7,%esi
jg     11af <main+0x7f>
lea    0xe61(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
cmp    $0xa7,%esi
jg     11c9 <main+0x99>
lea    0xe47(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%d %d %d\00"
@.str.1 = [10 x i8] c"NO CRASH\0A\00"
@.str.2 = [10 x i8] c"CRASH %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
%6 = load i32, i32* %2
%7 = icmp sge i32 %6, 168
br i1 %7, label %8, label %16
8: ; preds = %0
%9 = load i32, i32* %3
%10 = icmp sge i32 %9, 168
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load i32, i32* %4
%13 = icmp sge i32 %12, 168
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
br label %16
16: ; preds = %14, %11, %8, %0
%17 = load i32, i32* %2
%18 = icmp slt i32 %17, 168
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load i32, i32* %2
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %20)
br label %22
22: ; preds = %19, %16
%23 = load i32, i32* %3
%24 = icmp slt i32 %23, 168
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, i32* %3
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %26)
br label %28
28: ; preds = %25, %22
%29 = load i32, i32* %4
%30 = icmp slt i32 %29, 168
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, i32* %4
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %32)
br label %34
34: ; preds = %31, %28
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"%d %d %d\00"
@.str.2 = [10 x i8] c"CRASH %d\0A\00"
@str = [9 x i8] c"NO CRASH\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = bitcast i32* %1 to i8*
%5 = bitcast i32* %2 to i8*
%6 = bitcast i32* %3 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%8 = load i32, i32* %1
%9 = icmp sgt i32 %8, 167
%10 = load i32, i32* %2
%11 = icmp sgt i32 %10, 167
%12 = select i1 %9, i1 %11, i1 false
%13 = load i32, i32* %3
%14 = icmp sgt i32 %13, 167
%15 = select i1 %12, i1 %14, i1 false
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%18 = load i32, i32* %1
br label %19
19: ; preds = %16, %0
%20 = phi i32 [ %18, %16 ], [ %8, %0 ]
%21 = icmp slt i32 %20, 168
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %20)
br label %24
24: ; preds = %22, %19
%25 = load i32, i32* %2
%26 = icmp slt i32 %25, 168
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %25)
br label %29
29: ; preds = %27, %24
%30 = load i32, i32* %3
%31 = icmp slt i32 %30, 168
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %30)
br label %34
34: ; preds = %32, %29
ret i32 0
}