program ABC100B
    implicit none
    integer(8)::D,N

    read(5,*)D,N

    if(N==100)then
        N=N+1
    end if

    print'(i0)',N*100**D
    
end program ABC100B
; 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.3b5c4c24bee31eb531d2a80483f73a52 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_5860/source.f\00"
@_QQcl.28693029 = linkonce constant [4 x i8] c"(i0)"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 5, ptr nonnull @_QQcl.3b5c4c24bee31eb531d2a80483f73a52, i32 5)
  %4 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %1, i32 8)
  %5 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %2, i32 8)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %7 = load i64, ptr %2, align 8, !tbaa !3
  %8 = icmp eq i64 %7, 100
  br i1 %8, label %9, label %10

9:                                                ; preds = %0
  store i64 101, ptr %2, align 8, !tbaa !3
  br label %10

10:                                               ; preds = %9, %0
  %11 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.3b5c4c24bee31eb531d2a80483f73a52, i32 11)
  %12 = load i64, ptr %2, align 8, !tbaa !3
  %13 = load i64, ptr %1, align 8, !tbaa !3
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %__mlir_math_ipowi_i64.exit, label %15

15:                                               ; preds = %10
  %16 = icmp slt i64 %13, 1
  br i1 %16, label %__mlir_math_ipowi_i64.exit, label %.preheader.i

.preheader.i:                                     ; preds = %15
  %17 = and i64 %13, 1
  %.not3.i = icmp eq i64 %17, 0
  %18 = select i1 %.not3.i, i64 1, i64 100
  %19 = icmp eq i64 %13, 1
  br i1 %19, label %__mlir_math_ipowi_i64.exit, label %.lr.ph.i

.lr.ph.i:                                         ; preds = %.preheader.i, %.lr.ph.i
  %spec.select4.i = phi i64 [ %spec.select.i, %.lr.ph.i ], [ %18, %.preheader.i ]
  %20 = phi i64 [ %22, %.lr.ph.i ], [ %13, %.preheader.i ]
  %21 = phi i64 [ %23, %.lr.ph.i ], [ 100, %.preheader.i ]
  %22 = lshr i64 %20, 1
  %23 = mul i64 %21, %21
  %24 = and i64 %20, 2
  %.not.i = icmp eq i64 %24, 0
  %25 = select i1 %.not.i, i64 1, i64 %23
  %spec.select.i = mul i64 %25, %spec.select4.i
  %26 = icmp ult i64 %20, 4
  br i1 %26, label %__mlir_math_ipowi_i64.exit, label %.lr.ph.i

__mlir_math_ipowi_i64.exit:                       ; preds = %.lr.ph.i, %15, %10, %.preheader.i
  %common.ret.op.i = phi i64 [ 1, %10 ], [ %18, %.preheader.i ], [ 0, %15 ], [ %spec.select.i, %.lr.ph.i ]
  %27 = mul i64 %common.ret.op.i, %12
  %28 = call i1 @_FortranAioOutputInteger64(ptr %11, i64 %27)
  %29 = call i32 @_FortranAioEndIoStatement(ptr %11)
  ret void
}

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 @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger64(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"}
