program ABC078C
    implicit none
    integer(8)::N,M
    read(5,*)N,M

    print'(i0)',(1900*M+100*(N-M))*2**M

end program ABC078C
; 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.304f4ec3f8090323879d73f4fcd54c01 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6738/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.304f4ec3f8090323879d73f4fcd54c01, i32 4)
  %4 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %2, i32 8)
  %5 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %1, i32 8)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %7 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.304f4ec3f8090323879d73f4fcd54c01, i32 6)
  %8 = load i64, ptr %1, align 8, !tbaa !3
  %9 = load i64, ptr %2, align 8, !tbaa !3
  %10 = icmp eq i64 %8, 0
  br i1 %10, label %__mlir_math_ipowi_i64.exit, label %11

11:                                               ; preds = %0
  %12 = icmp slt i64 %8, 1
  br i1 %12, label %__mlir_math_ipowi_i64.exit, label %.preheader.i

.preheader.i:                                     ; preds = %11
  %13 = and i64 %8, 1
  %.not3.i = icmp eq i64 %13, 0
  %14 = select i1 %.not3.i, i64 1, i64 2
  %15 = icmp eq i64 %8, 1
  br i1 %15, 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 ], [ %14, %.preheader.i ]
  %16 = phi i64 [ %18, %.lr.ph.i ], [ %8, %.preheader.i ]
  %17 = phi i64 [ %19, %.lr.ph.i ], [ 2, %.preheader.i ]
  %18 = lshr i64 %16, 1
  %19 = mul i64 %17, %17
  %20 = and i64 %16, 2
  %.not.i = icmp eq i64 %20, 0
  %21 = select i1 %.not.i, i64 1, i64 %19
  %spec.select.i = mul i64 %21, %spec.select4.i
  %22 = icmp ult i64 %16, 4
  br i1 %22, label %__mlir_math_ipowi_i64.exit, label %.lr.ph.i

__mlir_math_ipowi_i64.exit:                       ; preds = %.lr.ph.i, %11, %0, %.preheader.i
  %common.ret.op.i = phi i64 [ 1, %0 ], [ %14, %.preheader.i ], [ 0, %11 ], [ %spec.select.i, %.lr.ph.i ]
  %23 = mul i64 %8, 1900
  %24 = sub i64 %9, %8
  %25 = mul i64 %24, 100
  %26 = add i64 %25, %23
  %27 = mul i64 %common.ret.op.i, %26
  %28 = call i1 @_FortranAioOutputInteger64(ptr %7, i64 %27)
  %29 = call i32 @_FortranAioEndIoStatement(ptr %7)
  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"}
