   program abc158c
   implicit none
   integer::A,B,i,x=0
   real,parameter::eps=0.0000001

      read *,A,B
      do i=1000,1,-1
         if(int((0.08+eps)*i)==A) then
            if(int((0.10+eps)*i)==B) then
               x=i
            end if
         end if
      end do

      if (x/=0) then
         print *,x
      else
         print *,'-1'
      end if
      stop

   end program abc158c
; ModuleID = 'FIRModule'
source_filename = "FIRModule"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@_QFEx = internal unnamed_addr global i32 0
@_QQcl.cd77e8c30cff9e4a05c714cfee6be9be = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_2211/source.f\00"
@_QQcl.2D31 = linkonce constant [2 x i8] c"-1"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
vector.ph:
  %0 = alloca i32, align 4
  %1 = alloca i32, align 4
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.cd77e8c30cff9e4a05c714cfee6be9be, i32 6)
  %3 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %0, i32 4)
  %4 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %1, i32 4)
  %5 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %6 = load i32, ptr %1, align 4
  %7 = load i32, ptr %0, align 4, !tbaa !3
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %7, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert5 = insertelement <4 x i32> poison, i32 %6, i64 0
  %broadcast.splat6 = shufflevector <4 x i32> %broadcast.splatinsert5, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %25, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %25 ]
  %vec.ind = phi <4 x i32> [ <i32 1000, i32 999, i32 998, i32 997>, %vector.ph ], [ %vec.ind.next, %25 ]
  %8 = sitofp <4 x i32> %vec.ind to <4 x float>
  %9 = fmul contract <4 x float> %8, <float 0x3FB47AE2E0000000, float 0x3FB47AE2E0000000, float 0x3FB47AE2E0000000, float 0x3FB47AE2E0000000>
  %10 = fptosi <4 x float> %9 to <4 x i32>
  %11 = icmp eq <4 x i32> %broadcast.splat, %10
  %12 = fmul contract <4 x float> %8, <float 0x3FB9999B40000000, float 0x3FB9999B40000000, float 0x3FB9999B40000000, float 0x3FB9999B40000000>
  %13 = fptosi <4 x float> %12 to <4 x i32>
  %14 = icmp eq <4 x i32> %broadcast.splat6, %13
  %15 = select <4 x i1> %11, <4 x i1> %14, <4 x i1> zeroinitializer
  %16 = extractelement <4 x i1> %15, i64 0
  %17 = extractelement <4 x i1> %15, i64 1
  %18 = or i1 %16, %17
  %19 = extractelement <4 x i1> %15, i64 2
  %20 = or i1 %18, %19
  %21 = extractelement <4 x i1> %15, i64 3
  %22 = or i1 %20, %21
  br i1 %22, label %23, label %25

23:                                               ; preds = %vector.body
  %24 = trunc i64 %index to i32
  %simplifycfg.merge13.v = select i1 %17, i32 999, i32 1000
  %spec.select.v = select i1 %19, i32 998, i32 %simplifycfg.merge13.v
  %spec.select16.v = select i1 %21, i32 997, i32 %spec.select.v
  %spec.select16 = sub i32 %spec.select16.v, %24
  store i32 %spec.select16, ptr @_QFEx, align 4, !tbaa !3
  br label %25

25:                                               ; preds = %vector.body, %23
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 -4, i32 -4, i32 -4, i32 -4>
  %26 = icmp eq i64 %index.next, 1000
  br i1 %26, label %middle.block, label %vector.body, !llvm.loop !7

middle.block:                                     ; preds = %25
  %27 = load i32, ptr @_QFEx, align 4, !tbaa !3
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %32, label %28

28:                                               ; preds = %middle.block
  %29 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.cd77e8c30cff9e4a05c714cfee6be9be, i32 16)
  %30 = load i32, ptr @_QFEx, align 4, !tbaa !3
  %31 = call i1 @_FortranAioOutputInteger32(ptr %29, i32 %30)
  br label %35

32:                                               ; preds = %middle.block
  %33 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.cd77e8c30cff9e4a05c714cfee6be9be, i32 18)
  %34 = call i1 @_FortranAioOutputAscii(ptr %33, ptr nonnull @_QQcl.2D31, i64 2)
  br label %35

35:                                               ; preds = %28, %32
  %.sink = phi ptr [ %29, %28 ], [ %33, %32 ]
  %36 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  %37 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

declare ptr @_FortranAioBeginExternalListInput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) local_unnamed_addr

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

attributes #0 = { noreturn }

!llvm.module.flags = !{!0, !1, !2}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{!4, !4, i64 0}
!4 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = distinct !{!7, !8, !9}
!8 = !{!"llvm.loop.isvectorized", i32 1}
!9 = !{!"llvm.loop.unroll.runtime.disable"}
