#import <stdio.h>

int p(int x, int n) {
    int result = 1;
    while (n > 0) {
        if ((n % 2) == 0) {
            x *= x;
            n >>= 1;
        } else {
            result *= x;
            n--;
        }
    }
    return result;
}

int main(){
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d",100*p(2,m)*(n+18*m));
    return 0;
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_681/source.m'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_681/source.m"
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"

@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1

; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define dso_local i32 @p(i32 noundef %x, i32 noundef %n) local_unnamed_addr #0 {
entry:
  %cmp9 = icmp sgt i32 %n, 0
  br i1 %cmp9, label %while.body, label %while.end

while.body:                                       ; preds = %entry, %while.body
  %result.012 = phi i32 [ %result.1, %while.body ], [ 1, %entry ]
  %n.addr.011 = phi i32 [ %n.addr.1, %while.body ], [ %n, %entry ]
  %x.addr.010 = phi i32 [ %x.addr.1, %while.body ], [ %x, %entry ]
  %rem = and i32 %n.addr.011, 1
  %cmp1 = icmp eq i32 %rem, 0
  %shr = lshr i32 %n.addr.011, 1
  %dec = add nsw i32 %n.addr.011, -1
  %mul = select i1 %cmp1, i32 %x.addr.010, i32 1
  %x.addr.1 = mul nsw i32 %mul, %x.addr.010
  %n.addr.1 = select i1 %cmp1, i32 %shr, i32 %dec
  %mul2 = select i1 %cmp1, i32 1, i32 %x.addr.010
  %result.1 = mul nsw i32 %mul2, %result.012
  %cmp.not = icmp eq i32 %n.addr.1, 0
  br i1 %cmp.not, label %while.end, label %while.body

while.end:                                        ; preds = %while.body, %entry
  %result.0.lcssa = phi i32 [ 1, %entry ], [ %result.1, %while.body ]
  ret i32 %result.0.lcssa
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #2 {
entry:
  %n = alloca i32, align 4
  %m = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %n) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %m) #4
  %call = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %n, ptr noundef nonnull %m)
  %0 = load i32, ptr %m, align 4, !tbaa !5
  %cmp9.i = icmp sgt i32 %0, 0
  br i1 %cmp9.i, label %while.body.i, label %p.exit

while.body.i:                                     ; preds = %entry, %while.body.i
  %result.012.i = phi i32 [ %result.1.i, %while.body.i ], [ 1, %entry ]
  %n.addr.011.i = phi i32 [ %n.addr.1.i, %while.body.i ], [ %0, %entry ]
  %x.addr.010.i = phi i32 [ %x.addr.1.i, %while.body.i ], [ 2, %entry ]
  %rem.i = and i32 %n.addr.011.i, 1
  %cmp1.i = icmp eq i32 %rem.i, 0
  %shr.i = lshr i32 %n.addr.011.i, 1
  %dec.i = add nsw i32 %n.addr.011.i, -1
  %mul.i = select i1 %cmp1.i, i32 %x.addr.010.i, i32 1
  %x.addr.1.i = mul nsw i32 %mul.i, %x.addr.010.i
  %n.addr.1.i = select i1 %cmp1.i, i32 %shr.i, i32 %dec.i
  %mul2.i = select i1 %cmp1.i, i32 1, i32 %x.addr.010.i
  %result.1.i = mul nsw i32 %mul2.i, %result.012.i
  %cmp.not.i = icmp eq i32 %n.addr.1.i, 0
  br i1 %cmp.not.i, label %p.exit.loopexit, label %while.body.i

p.exit.loopexit:                                  ; preds = %while.body.i
  %1 = mul nsw i32 %result.1.i, 100
  br label %p.exit

p.exit:                                           ; preds = %p.exit.loopexit, %entry
  %result.0.lcssa.i = phi i32 [ 100, %entry ], [ %1, %p.exit.loopexit ]
  %2 = load i32, ptr %n, align 4, !tbaa !5
  %mul2 = mul nsw i32 %0, 18
  %add = add nsw i32 %2, %mul2
  %mul3 = mul nsw i32 %result.0.lcssa.i, %add
  %call4 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %mul3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %m) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %n) #4
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

attributes #0 = { nofree norecurse nosync nounwind memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.linker.options = !{}
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"Ubuntu clang version 18.0.0 (++20231007042255+8abb2ace888b-1~exp1~20231007042414.1230)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
