program b 
	real :: n, ansExists, ans
    ansExists = 0
    
    ! nを読む
    read *, n
    
    ! nを1からNまで試し、あてはまるものがあれば出力する
    do i = 1, n
    	if (int(i * 1.08) == n) then
        	ansExists = 1
        	ans = i
            exit
        end if
    end do
    
    ! 答えがあれば出力
    if (ansExists == 1) then
    	print '(i0)', int(ans)
    else
    	print *, ':('
    end if
end program b
; 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"

@_QQcl.243ce8cb457a1e25d0d39d42d9fd37f2 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_2892/source.f\00"
@_QQcl.28693029 = linkonce constant [4 x i8] c"(i0)"
@_QQcl.3A28 = linkonce constant [2 x i8] c":("
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca float, align 4
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.243ce8cb457a1e25d0d39d42d9fd37f2, i32 6)
  %3 = call i1 @_FortranAioInputReal32(ptr %2, ptr nonnull %1)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = load float, ptr %1, align 4, !tbaa !3
  %6 = fptosi float %5 to i32
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %13
  %.012 = phi i32 [ %14, %13 ], [ 1, %0 ]
  %8 = sitofp i32 %.012 to float
  %9 = fmul contract float %8, 0x3FF147AE20000000
  %10 = fptosi float %9 to i32
  %11 = sitofp i32 %10 to float
  %12 = fcmp oeq float %5, %11
  br i1 %12, label %15, label %13

13:                                               ; preds = %.lr.ph
  %14 = add nuw i32 %.012, 1
  %exitcond.not = icmp eq i32 %.012, %6
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph

15:                                               ; preds = %.lr.ph
  %16 = fptosi float %8 to i32
  %17 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.243ce8cb457a1e25d0d39d42d9fd37f2, i32 19)
  %18 = call i1 @_FortranAioOutputInteger32(ptr %17, i32 %16)
  br label %21

._crit_edge:                                      ; preds = %13, %0
  %19 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.243ce8cb457a1e25d0d39d42d9fd37f2, i32 21)
  %20 = call i1 @_FortranAioOutputAscii(ptr %19, ptr nonnull @_QQcl.3A28, i64 2)
  br label %21

21:                                               ; preds = %15, %._crit_edge
  %.sink = phi ptr [ %17, %15 ], [ %19, %._crit_edge ]
  %22 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

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

declare i1 @_FortranAioInputReal32(ptr, ptr) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare ptr @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

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

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

!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"}
