#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 *, double *);
int main() {
  double w;
  scanf("%lf", &w);
  if (w <= 50.80)
    printf("플라이급");
  else if (w <= 61.23)
    printf("라이트급");
  else if (w <= 72.57)
    printf("미들급");
  else if (w <= 88.45)
    printf("크루저급");
  else
    printf("헤비급");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeea(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
movsd  0xeb9(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
jb     1163 <main+0x43>
lea    0xecb(%rip),%rdi
call   1030 <printf@plt>
jmp    11ea <main+0xca>
movsd  0xe9d(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
jb     1187 <main+0x67>
lea    0xeb4(%rip),%rdi
call   1030 <printf@plt>
jmp    11e5 <main+0xc5>
movsd  0xe81(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
jb     11ab <main+0x8b>
lea    0xe9d(%rip),%rdi
call   1030 <printf@plt>
jmp    11e0 <main+0xc0>
movsd  0xe65(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
jb     11cf <main+0xaf>
lea    0xe83(%rip),%rdi
call   1030 <printf@plt>
jmp    11db <main+0xbb>
lea    0xe7f(%rip),%rdi
call   1030 <printf@plt>
jmp    11e0 <main+0xc0>
jmp    11e5 <main+0xc5>
jmp    11ea <main+0xca>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xef8(%rip),%rdi
mov    %rsp,%rsi
call   1040 <scanf@plt>
movsd  (%rsp),%xmm0
movsd  0xec3(%rip),%xmm1
ucomisd %xmm0,%xmm1
jae    117f <main+0x5f>
movsd  0xebd(%rip),%xmm1
ucomisd %xmm0,%xmm1
jae    1188 <main+0x68>
movsd  0xeb7(%rip),%xmm1
ucomisd %xmm0,%xmm1
jae    1191 <main+0x71>
movsd  0xeb1(%rip),%xmm1
ucomisd %xmm0,%xmm1
lea    0xee3(%rip),%rax
lea    0xecf(%rip),%rdi
cmovb  %rax,%rdi
jmp    1198 <main+0x78>
lea    0xe9e(%rip),%rdi
jmp    1198 <main+0x78>
lea    0xea2(%rip),%rdi
jmp    1198 <main+0x78>
lea    0xea6(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%lf\00"
@.str.1 = [13 x i8] c"\ED\94\8C\EB\9D\BC\EC\9D\B4\EA\B8\89\00"
@.str.2 = [13 x i8] c"\EB\9D\BC\EC\9D\B4\ED\8A\B8\EA\B8\89\00"
@.str.3 = [10 x i8] c"\EB\AF\B8\EB\93\A4\EA\B8\89\00"
@.str.4 = [13 x i8] c"\ED\81\AC\EB\A3\A8\EC\A0\80\EA\B8\89\00"
@.str.5 = [10 x i8] c"\ED\97\A4\EB\B9\84\EA\B8\89\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %2)
%4 = load double, double* %2
%5 = fcmp ole double %4, 5.080000e+01
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
br label %28
8: ; preds = %0
%9 = load double, double* %2
%10 = fcmp ole double %9, 0x404E9D70A3D70A3D
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %27
13: ; preds = %8
%14 = load double, double* %2
%15 = fcmp ole double %14, 0x4052247AE147AE14
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %26
18: ; preds = %13
%19 = load double, double* %2
%20 = fcmp ole double %19, 8.845000e+01
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
br label %25
23: ; preds = %18
%24 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %25
25: ; preds = %23, %21
br label %26
26: ; preds = %25, %16
br label %27
27: ; preds = %26, %11
br label %28
28: ; preds = %27, %6
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%lf\00"
@.str.1 = [13 x i8] c"\ED\94\8C\EB\9D\BC\EC\9D\B4\EA\B8\89\00"
@.str.2 = [13 x i8] c"\EB\9D\BC\EC\9D\B4\ED\8A\B8\EA\B8\89\00"
@.str.3 = [10 x i8] c"\EB\AF\B8\EB\93\A4\EA\B8\89\00"
@.str.4 = [13 x i8] c"\ED\81\AC\EB\A3\A8\EC\A0\80\EA\B8\89\00"
@.str.5 = [10 x i8] c"\ED\97\A4\EB\B9\84\EA\B8\89\00"
define i32 @main() {
%1 = alloca double
%2 = bitcast double* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %1)
%4 = load double, double* %1
%5 = fcmp ugt double %4, 5.080000e+01
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = fcmp ugt double %4, 0x404E9D70A3D70A3D
br i1 %7, label %8, label %13
8: ; preds = %6
%9 = fcmp ugt double %4, 0x4052247AE147AE14
br i1 %9, label %10, label %13
10: ; preds = %8
%11 = fcmp ugt double %4, 8.845000e+01
%12 = select i1 %11, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0)
br label %13
13: ; preds = %10, %8, %6, %0
%14 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), %6 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), %8 ], [ %12, %10 ]
%15 = call i32 @printf(i8* dereferenceable(1) %14)
ret i32 0
}