#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 *, float);
int /*<<< orphan*/ scanf(char *, float *, float *, float *);
int main() {
  float o, t, th;
  scanf("%f %f %f", &o, &t, &th);
  if (o >= t && o >= th) {
    printf("\n%.1f", o);
  }
  if (t >= 0 && t >= th) {
    printf("\n%.1f", t);
  }
  if (th >= 0 && th >= t) {
    printf("\n%.1f", th);
  }
}


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>
movss  -0x8(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jb     1176 <main+0x56>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1176 <main+0x56>
movss  -0x8(%rbp),%xmm0
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     11a7 <main+0x87>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     11a7 <main+0x87>
movss  -0xc(%rbp),%xmm0
lea    0xe67(%rip),%rdi
call   1030 <printf@plt>
movss  -0x10(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     11d8 <main+0xb8>
movss  -0x10(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jb     11d8 <main+0xb8>
movss  -0x10(%rbp),%xmm0
lea    0xe36(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xed5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1040 <scanf@plt>
movss  0x14(%rsp),%xmm2
movss  0x10(%rsp),%xmm1
ucomiss %xmm1,%xmm2
movss  0xc(%rsp),%xmm0
jb     1176 <main+0x56>
ucomiss %xmm0,%xmm2
jb     1176 <main+0x56>
lea    0xea7(%rip),%rdi
movaps %xmm2,%xmm0
call   1030 <printf@plt>
movss  0x10(%rsp),%xmm1
movss  0xc(%rsp),%xmm0
xorps  %xmm2,%xmm2
ucomiss %xmm2,%xmm1
jb     11a1 <main+0x81>
ucomiss %xmm0,%xmm1
jb     11a1 <main+0x81>
lea    0xe7f(%rip),%rdi
movaps %xmm1,%xmm0
call   1030 <printf@plt>
xorps  %xmm2,%xmm2
movss  0xc(%rsp),%xmm0
movss  0x10(%rsp),%xmm1
ucomiss %xmm2,%xmm0
jb     11b7 <main+0x97>
ucomiss %xmm1,%xmm0
jb     11b7 <main+0x97>
lea    0xe57(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

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

LLVM IR (-O2):
@.str = [9 x i8] c"%f %f %f\00"
@.str.1 = [6 x i8] c"\0A%.1f\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = bitcast float* %1 to i8*
%5 = bitcast float* %2 to i8*
%6 = bitcast float* %3 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, float* %3)
%8 = load float, float* %1
%9 = load float, float* %2
%10 = fcmp ult float %8, %9
%11 = load float, float* %3
%12 = fcmp ult float %8, %11
%13 = select i1 %10, i1 true, i1 %12
br i1 %13, label %18, label %14
14: ; preds = %0
%15 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %8)
%16 = load float, float* %2
%17 = load float, float* %3
br label %18
18: ; preds = %14, %0
%19 = phi float [ %17, %14 ], [ %11, %0 ]
%20 = phi float [ %16, %14 ], [ %9, %0 ]
%21 = fcmp ult float %20, 0.000000e+00
%22 = fcmp ult float %20, %19
%23 = select i1 %21, i1 true, i1 %22
br i1 %23, label %28, label %24
24: ; preds = %18
%25 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %20)
%26 = load float, float* %3
%27 = load float, float* %2
br label %28
28: ; preds = %24, %18
%29 = phi float [ %27, %24 ], [ %20, %18 ]
%30 = phi float [ %26, %24 ], [ %19, %18 ]
%31 = fcmp ult float %30, 0.000000e+00
%32 = fcmp ult float %30, %29
%33 = select i1 %31, i1 true, i1 %32
br i1 %33, label %36, label %34
34: ; preds = %28
%35 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %30)
br label %36
36: ; preds = %34, %28
ret i32 0
}