#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 */
scalar_t__ EOF;
int /*<<< orphan*/ printf(char *, int);
scalar_t__ scanf(char *, double *);
int main(void) {
  int i;
  double v, y;
  while (scanf("%lf", &v) != EOF) {
    i = 1;
    y = 10.0 * v * v / (14.0 * 14.0);
    while (5.0 * i - 5.0 < y)
      i++;
    printf("%d", i);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeea(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
mov    0x2ea2(%rip),%rcx
cmp    (%rcx),%rax
je     11c7 <main+0xa7>
movl   $0x1,-0x8(%rbp)
movsd  0xeaa(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  0xe90(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm1
movsd  0xe8a(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xe86(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x18(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    11b3 <main+0x93>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1179 <main+0x59>
mov    -0x8(%rbp),%esi
lea    0xe67(%rip),%rdi
call   1030 <printf@plt>
jmp    112f <main+0xf>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xef1(%rip),%rdi
mov    %rsp,%rsi
call   1040 <scanf@plt>
mov    0x2eaa(%rip),%r12
cmp    (%r12),%rax
je     11d1 <main+0xb1>
movsd  0xec0(%rip),%xmm2
movsd  0xec0(%rip),%xmm3
lea    0xec5(%rip),%r14
lea    0xeba(%rip),%r15
mov    %rsp,%rbx
nopl   0x0(%rax)
movsd  (%rsp),%xmm1
movapd %xmm1,%xmm0
mulsd  0xe7f(%rip),%xmm0
mulsd  %xmm1,%xmm0
divsd  0xe7b(%rip),%xmm0
xor    %esi,%esi
nop
add    $0x1,%esi
xorps  %xmm1,%xmm1
cvtsi2sd %esi,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm3,%xmm1
ucomisd %xmm1,%xmm0
ja     1190 <main+0x70>
mov    %r14,%rdi
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1040 <scanf@plt>
movsd  0xe55(%rip),%xmm3
movsd  0xe45(%rip),%xmm2
cmp    (%r12),%rax
jne    1170 <main+0x50>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%lf\00"
@EOF = global i64 0
@.str.1 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca double
%4 = alloca double
store i32 0, i32* %1
br label %5
5: ; preds = %24, %0
%6 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %3)
%7 = load i64, i64* @EOF
%8 = icmp ne i64 %6, %7
br i1 %8, label %9, label %27
9: ; preds = %5
store i32 1, i32* %2
%10 = load double, double* %3
%11 = fmul double 1.000000e+01, %10
%12 = load double, double* %3
%13 = fmul double %11, %12
%14 = fdiv double %13, 1.960000e+02
store double %14, double* %4
br label %15
15: ; preds = %21, %9
%16 = load i32, i32* %2
%17 = sitofp i32 %16 to double
%18 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %17, double -5.000000e+00)
%19 = load double, double* %4
%20 = fcmp olt double %18, %19
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, i32* %2
%23 = add nsw i32 %22, 1
store i32 %23, i32* %2
br label %15
24: ; preds = %15
%25 = load i32, i32* %2
%26 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %25)
br label %5
27: ; preds = %5
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%lf\00"
@EOF = global i64 0
@.str.1 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca double
%2 = bitcast double* %1 to i8*
%3 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %1)
%4 = load i64, i64* @EOF
%5 = icmp eq i64 %3, %4
br i1 %5, label %22, label %6
6: ; preds = %0, %17
%7 = load double, double* %1
%8 = fmul double %7, 1.000000e+01
%9 = fmul double %7, %8
%10 = fdiv double %9, 1.960000e+02
br label %11
11: ; preds = %11, %6
%12 = phi i32 [ 1, %6 ], [ %16, %11 ]
%13 = sitofp i32 %12 to double
%14 = call double @llvm.fmuladd.f64(double %13, double 5.000000e+00, double -5.000000e+00)
%15 = fcmp olt double %14, %10
%16 = add nuw nsw i32 %12, 1
br i1 %15, label %11, label %17
17: ; preds = %11
%18 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %12)
%19 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %1)
%20 = load i64, i64* @EOF
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %6
22: ; preds = %17, %0
ret i32 0
}