#import <stdio.h>
#define M 1000000007
typedef long long INT;
INT fa(INT n, INT val){
    return (n==1)? (val%M) : fa(n-1,((n%M)*(val%M)%M));
}
INT fact(INT n){
    return fa(n,1);
}

int main(){
    INT n,m;
    scanf("%lld %lld",&n,&m);
    if (n==m) {
        printf("%lld",2*fact(n)*fact(n)%M);
    } else if (n-m==1||n-m==-1) {
        printf("%lld",fact(n)*fact(m)%M);
    } else {
        puts("0");
    }
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_760/source.m'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_760/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 [10 x i8] c"%lld %lld\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1

; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define dso_local i64 @fa(i64 noundef %n, i64 noundef %val) local_unnamed_addr #0 {
entry:
  %cmp7 = icmp eq i64 %n, 1
  br i1 %cmp7, label %cond.true, label %cond.false.preheader

cond.false.preheader:                             ; preds = %entry
  %0 = srem i64 %val, 1000000007
  %1 = and i64 %n, 1
  %lcmp.mod.not.not = icmp eq i64 %1, 0
  br i1 %lcmp.mod.not.not, label %cond.false.prol, label %cond.false.prol.loopexit

cond.false.prol:                                  ; preds = %cond.false.preheader
  %sub.prol = add nsw i64 %n, -1
  %rem1.prol = srem i64 %n, 1000000007
  %mul.prol = mul nsw i64 %0, %rem1.prol
  %rem3.prol = srem i64 %mul.prol, 1000000007
  br label %cond.false.prol.loopexit

cond.false.prol.loopexit:                         ; preds = %cond.false.prol, %cond.false.preheader
  %rem3.lcssa.unr = phi i64 [ undef, %cond.false.preheader ], [ %rem3.prol, %cond.false.prol ]
  %val.tr9.unr = phi i64 [ %0, %cond.false.preheader ], [ %rem3.prol, %cond.false.prol ]
  %n.tr8.unr = phi i64 [ %n, %cond.false.preheader ], [ %sub.prol, %cond.false.prol ]
  %2 = icmp eq i64 %n, 2
  br i1 %2, label %cond.true, label %cond.false

cond.true:                                        ; preds = %cond.false.prol.loopexit, %cond.false, %entry
  %val.tr.lcssa = phi i64 [ %val, %entry ], [ %rem3.lcssa.unr, %cond.false.prol.loopexit ], [ %rem3.1, %cond.false ]
  %rem = srem i64 %val.tr.lcssa, 1000000007
  ret i64 %rem

cond.false:                                       ; preds = %cond.false.prol.loopexit, %cond.false
  %val.tr9 = phi i64 [ %rem3.1, %cond.false ], [ %val.tr9.unr, %cond.false.prol.loopexit ]
  %n.tr8 = phi i64 [ %sub.1, %cond.false ], [ %n.tr8.unr, %cond.false.prol.loopexit ]
  %sub = add nsw i64 %n.tr8, -1
  %rem1 = srem i64 %n.tr8, 1000000007
  %mul = mul nsw i64 %val.tr9, %rem1
  %rem3 = srem i64 %mul, 1000000007
  %sub.1 = add nsw i64 %n.tr8, -2
  %rem1.1 = srem i64 %sub, 1000000007
  %mul.1 = mul nsw i64 %rem3, %rem1.1
  %rem3.1 = srem i64 %mul.1, 1000000007
  %cmp.1 = icmp eq i64 %sub.1, 1
  br i1 %cmp.1, label %cond.true, label %cond.false
}

; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define dso_local i64 @fact(i64 noundef %n) local_unnamed_addr #0 {
entry:
  %cmp7.i = icmp eq i64 %n, 1
  br i1 %cmp7.i, label %fa.exit, label %cond.false.i.preheader

cond.false.i.preheader:                           ; preds = %entry
  %0 = add i64 %n, -1
  %xtraiter = and i64 %0, 1
  %1 = icmp eq i64 %n, 2
  br i1 %1, label %fa.exit.loopexit.unr-lcssa, label %cond.false.i.preheader.new

cond.false.i.preheader.new:                       ; preds = %cond.false.i.preheader
  %unroll_iter = and i64 %0, -2
  br label %cond.false.i

cond.false.i:                                     ; preds = %cond.false.i, %cond.false.i.preheader.new
  %val.tr9.i = phi i64 [ 1, %cond.false.i.preheader.new ], [ %rem3.i.1, %cond.false.i ]
  %n.tr8.i = phi i64 [ %n, %cond.false.i.preheader.new ], [ %sub.i.1, %cond.false.i ]
  %niter = phi i64 [ 0, %cond.false.i.preheader.new ], [ %niter.next.1, %cond.false.i ]
  %sub.i = add nsw i64 %n.tr8.i, -1
  %rem1.i = srem i64 %n.tr8.i, 1000000007
  %mul.i = mul nsw i64 %rem1.i, %val.tr9.i
  %rem3.i = srem i64 %mul.i, 1000000007
  %sub.i.1 = add nsw i64 %n.tr8.i, -2
  %rem1.i.1 = srem i64 %sub.i, 1000000007
  %mul.i.1 = mul nsw i64 %rem1.i.1, %rem3.i
  %rem3.i.1 = srem i64 %mul.i.1, 1000000007
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %fa.exit.loopexit.unr-lcssa, label %cond.false.i

fa.exit.loopexit.unr-lcssa:                       ; preds = %cond.false.i, %cond.false.i.preheader
  %rem3.i.lcssa.ph = phi i64 [ undef, %cond.false.i.preheader ], [ %rem3.i.1, %cond.false.i ]
  %val.tr9.i.unr = phi i64 [ 1, %cond.false.i.preheader ], [ %rem3.i.1, %cond.false.i ]
  %n.tr8.i.unr = phi i64 [ %n, %cond.false.i.preheader ], [ %sub.i.1, %cond.false.i ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %fa.exit, label %cond.false.i.epil

cond.false.i.epil:                                ; preds = %fa.exit.loopexit.unr-lcssa
  %rem1.i.epil = srem i64 %n.tr8.i.unr, 1000000007
  %mul.i.epil = mul nsw i64 %rem1.i.epil, %val.tr9.i.unr
  %rem3.i.epil = srem i64 %mul.i.epil, 1000000007
  br label %fa.exit

fa.exit:                                          ; preds = %cond.false.i.epil, %fa.exit.loopexit.unr-lcssa, %entry
  %val.tr.lcssa.i = phi i64 [ 1, %entry ], [ %rem3.i.lcssa.ph, %fa.exit.loopexit.unr-lcssa ], [ %rem3.i.epil, %cond.false.i.epil ]
  ret i64 %val.tr.lcssa.i
}

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #1 {
entry:
  %n = alloca i64, align 8
  %m = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %n) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %m) #4
  %call = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %n, ptr noundef nonnull %m)
  %0 = load i64, ptr %n, align 8, !tbaa !5
  %1 = load i64, ptr %m, align 8, !tbaa !5
  %cmp = icmp eq i64 %0, %1
  br i1 %cmp, label %if.then, label %if.else

if.then:                                          ; preds = %entry
  %cmp7.i.i = icmp eq i64 %0, 1
  br i1 %cmp7.i.i, label %fact.exit28, label %cond.false.i.i.preheader

cond.false.i.i.preheader:                         ; preds = %if.then
  %2 = add i64 %0, -1
  %3 = add i64 %0, -2
  %xtraiter60 = and i64 %2, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %cond.false.i.i19.preheader.unr-lcssa, label %cond.false.i.i.preheader.new

cond.false.i.i.preheader.new:                     ; preds = %cond.false.i.i.preheader
  %unroll_iter63 = and i64 %2, -2
  br label %cond.false.i.i

cond.false.i.i:                                   ; preds = %cond.false.i.i, %cond.false.i.i.preheader.new
  %val.tr9.i.i = phi i64 [ 1, %cond.false.i.i.preheader.new ], [ %rem3.i.i.1, %cond.false.i.i ]
  %n.tr8.i.i = phi i64 [ %0, %cond.false.i.i.preheader.new ], [ %sub.i.i.1, %cond.false.i.i ]
  %niter64 = phi i64 [ 0, %cond.false.i.i.preheader.new ], [ %niter64.next.1, %cond.false.i.i ]
  %sub.i.i = add nsw i64 %n.tr8.i.i, -1
  %rem1.i.i = srem i64 %n.tr8.i.i, 1000000007
  %mul.i.i = mul nsw i64 %rem1.i.i, %val.tr9.i.i
  %rem3.i.i = srem i64 %mul.i.i, 1000000007
  %sub.i.i.1 = add nsw i64 %n.tr8.i.i, -2
  %rem1.i.i.1 = srem i64 %sub.i.i, 1000000007
  %mul.i.i.1 = mul nsw i64 %rem1.i.i.1, %rem3.i.i
  %rem3.i.i.1 = srem i64 %mul.i.i.1, 1000000007
  %niter64.next.1 = add i64 %niter64, 2
  %niter64.ncmp.1 = icmp eq i64 %niter64.next.1, %unroll_iter63
  br i1 %niter64.ncmp.1, label %cond.false.i.i19.preheader.unr-lcssa, label %cond.false.i.i

cond.false.i.i19.preheader.unr-lcssa:             ; preds = %cond.false.i.i, %cond.false.i.i.preheader
  %rem3.i.i.lcssa.ph = phi i64 [ undef, %cond.false.i.i.preheader ], [ %rem3.i.i.1, %cond.false.i.i ]
  %val.tr9.i.i.unr = phi i64 [ 1, %cond.false.i.i.preheader ], [ %rem3.i.i.1, %cond.false.i.i ]
  %n.tr8.i.i.unr = phi i64 [ %0, %cond.false.i.i.preheader ], [ %sub.i.i.1, %cond.false.i.i ]
  %lcmp.mod61.not = icmp eq i64 %xtraiter60, 0
  br i1 %lcmp.mod61.not, label %cond.false.i.i19.preheader, label %cond.false.i.i.epil

cond.false.i.i.epil:                              ; preds = %cond.false.i.i19.preheader.unr-lcssa
  %rem1.i.i.epil = srem i64 %n.tr8.i.i.unr, 1000000007
  %mul.i.i.epil = mul nsw i64 %rem1.i.i.epil, %val.tr9.i.i.unr
  %rem3.i.i.epil = srem i64 %mul.i.i.epil, 1000000007
  br label %cond.false.i.i19.preheader

cond.false.i.i19.preheader:                       ; preds = %cond.false.i.i19.preheader.unr-lcssa, %cond.false.i.i.epil
  %rem3.i.i.lcssa = phi i64 [ %rem3.i.i.lcssa.ph, %cond.false.i.i19.preheader.unr-lcssa ], [ %rem3.i.i.epil, %cond.false.i.i.epil ]
  %mul = shl nsw i64 %rem3.i.i.lcssa, 1
  %xtraiter65 = and i64 %2, 1
  %5 = icmp eq i64 %3, 0
  br i1 %5, label %fact.exit28.loopexit.unr-lcssa, label %cond.false.i.i19.preheader.new

cond.false.i.i19.preheader.new:                   ; preds = %cond.false.i.i19.preheader
  %unroll_iter68 = and i64 %2, -2
  br label %cond.false.i.i19

cond.false.i.i19:                                 ; preds = %cond.false.i.i19, %cond.false.i.i19.preheader.new
  %val.tr9.i.i20 = phi i64 [ 1, %cond.false.i.i19.preheader.new ], [ %rem3.i.i25.1, %cond.false.i.i19 ]
  %n.tr8.i.i21 = phi i64 [ %0, %cond.false.i.i19.preheader.new ], [ %sub.i.i22.1, %cond.false.i.i19 ]
  %niter69 = phi i64 [ 0, %cond.false.i.i19.preheader.new ], [ %niter69.next.1, %cond.false.i.i19 ]
  %sub.i.i22 = add nsw i64 %n.tr8.i.i21, -1
  %rem1.i.i23 = srem i64 %n.tr8.i.i21, 1000000007
  %mul.i.i24 = mul nsw i64 %rem1.i.i23, %val.tr9.i.i20
  %rem3.i.i25 = srem i64 %mul.i.i24, 1000000007
  %sub.i.i22.1 = add nsw i64 %n.tr8.i.i21, -2
  %rem1.i.i23.1 = srem i64 %sub.i.i22, 1000000007
  %mul.i.i24.1 = mul nsw i64 %rem1.i.i23.1, %rem3.i.i25
  %rem3.i.i25.1 = srem i64 %mul.i.i24.1, 1000000007
  %niter69.next.1 = add i64 %niter69, 2
  %niter69.ncmp.1 = icmp eq i64 %niter69.next.1, %unroll_iter68
  br i1 %niter69.ncmp.1, label %fact.exit28.loopexit.unr-lcssa, label %cond.false.i.i19

fact.exit28.loopexit.unr-lcssa:                   ; preds = %cond.false.i.i19, %cond.false.i.i19.preheader
  %rem3.i.i25.lcssa.ph = phi i64 [ undef, %cond.false.i.i19.preheader ], [ %rem3.i.i25.1, %cond.false.i.i19 ]
  %val.tr9.i.i20.unr = phi i64 [ 1, %cond.false.i.i19.preheader ], [ %rem3.i.i25.1, %cond.false.i.i19 ]
  %n.tr8.i.i21.unr = phi i64 [ %0, %cond.false.i.i19.preheader ], [ %sub.i.i22.1, %cond.false.i.i19 ]
  %lcmp.mod66.not = icmp eq i64 %xtraiter65, 0
  br i1 %lcmp.mod66.not, label %fact.exit28.loopexit, label %cond.false.i.i19.epil

cond.false.i.i19.epil:                            ; preds = %fact.exit28.loopexit.unr-lcssa
  %rem1.i.i23.epil = srem i64 %n.tr8.i.i21.unr, 1000000007
  %mul.i.i24.epil = mul nsw i64 %rem1.i.i23.epil, %val.tr9.i.i20.unr
  %rem3.i.i25.epil = srem i64 %mul.i.i24.epil, 1000000007
  br label %fact.exit28.loopexit

fact.exit28.loopexit:                             ; preds = %fact.exit28.loopexit.unr-lcssa, %cond.false.i.i19.epil
  %rem3.i.i25.lcssa = phi i64 [ %rem3.i.i25.lcssa.ph, %fact.exit28.loopexit.unr-lcssa ], [ %rem3.i.i25.epil, %cond.false.i.i19.epil ]
  %6 = mul nsw i64 %rem3.i.i25.lcssa, %mul
  %7 = srem i64 %6, 1000000007
  br label %fact.exit28

fact.exit28:                                      ; preds = %fact.exit28.loopexit, %if.then
  %mul3 = phi i64 [ 2, %if.then ], [ %7, %fact.exit28.loopexit ]
  %call4 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %mul3)
  br label %if.end16

if.else:                                          ; preds = %entry
  %sub = sub nsw i64 %0, %1
  switch i64 %sub, label %if.else14 [
    i64 1, label %if.then8
    i64 -1, label %if.then8
  ]

if.then8:                                         ; preds = %if.else, %if.else
  %cmp7.i.i29 = icmp eq i64 %0, 1
  br i1 %cmp7.i.i29, label %fact.exit39, label %cond.false.i.i30.preheader

cond.false.i.i30.preheader:                       ; preds = %if.then8
  %8 = add i64 %0, -1
  %xtraiter = and i64 %8, 1
  %9 = icmp eq i64 %0, 2
  br i1 %9, label %fact.exit39.loopexit.unr-lcssa, label %cond.false.i.i30.preheader.new

cond.false.i.i30.preheader.new:                   ; preds = %cond.false.i.i30.preheader
  %unroll_iter = and i64 %8, -2
  br label %cond.false.i.i30

cond.false.i.i30:                                 ; preds = %cond.false.i.i30, %cond.false.i.i30.preheader.new
  %val.tr9.i.i31 = phi i64 [ 1, %cond.false.i.i30.preheader.new ], [ %rem3.i.i36.1, %cond.false.i.i30 ]
  %n.tr8.i.i32 = phi i64 [ %0, %cond.false.i.i30.preheader.new ], [ %sub.i.i33.1, %cond.false.i.i30 ]
  %niter = phi i64 [ 0, %cond.false.i.i30.preheader.new ], [ %niter.next.1, %cond.false.i.i30 ]
  %sub.i.i33 = add nsw i64 %n.tr8.i.i32, -1
  %rem1.i.i34 = srem i64 %n.tr8.i.i32, 1000000007
  %mul.i.i35 = mul nsw i64 %rem1.i.i34, %val.tr9.i.i31
  %rem3.i.i36 = srem i64 %mul.i.i35, 1000000007
  %sub.i.i33.1 = add nsw i64 %n.tr8.i.i32, -2
  %rem1.i.i34.1 = srem i64 %sub.i.i33, 1000000007
  %mul.i.i35.1 = mul nsw i64 %rem1.i.i34.1, %rem3.i.i36
  %rem3.i.i36.1 = srem i64 %mul.i.i35.1, 1000000007
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %fact.exit39.loopexit.unr-lcssa, label %cond.false.i.i30

fact.exit39.loopexit.unr-lcssa:                   ; preds = %cond.false.i.i30, %cond.false.i.i30.preheader
  %rem3.i.i36.lcssa.ph = phi i64 [ undef, %cond.false.i.i30.preheader ], [ %rem3.i.i36.1, %cond.false.i.i30 ]
  %val.tr9.i.i31.unr = phi i64 [ 1, %cond.false.i.i30.preheader ], [ %rem3.i.i36.1, %cond.false.i.i30 ]
  %n.tr8.i.i32.unr = phi i64 [ %0, %cond.false.i.i30.preheader ], [ %sub.i.i33.1, %cond.false.i.i30 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %fact.exit39, label %cond.false.i.i30.epil

cond.false.i.i30.epil:                            ; preds = %fact.exit39.loopexit.unr-lcssa
  %rem1.i.i34.epil = srem i64 %n.tr8.i.i32.unr, 1000000007
  %mul.i.i35.epil = mul nsw i64 %rem1.i.i34.epil, %val.tr9.i.i31.unr
  %rem3.i.i36.epil = srem i64 %mul.i.i35.epil, 1000000007
  br label %fact.exit39

fact.exit39:                                      ; preds = %cond.false.i.i30.epil, %fact.exit39.loopexit.unr-lcssa, %if.then8
  %val.tr.lcssa.i.i38 = phi i64 [ 1, %if.then8 ], [ %rem3.i.i36.lcssa.ph, %fact.exit39.loopexit.unr-lcssa ], [ %rem3.i.i36.epil, %cond.false.i.i30.epil ]
  %cmp7.i.i40 = icmp eq i64 %1, 1
  br i1 %cmp7.i.i40, label %fact.exit50, label %cond.false.i.i41.preheader

cond.false.i.i41.preheader:                       ; preds = %fact.exit39
  %10 = add i64 %1, -1
  %xtraiter55 = and i64 %10, 1
  %11 = icmp eq i64 %1, 2
  br i1 %11, label %fact.exit50.loopexit.unr-lcssa, label %cond.false.i.i41.preheader.new

cond.false.i.i41.preheader.new:                   ; preds = %cond.false.i.i41.preheader
  %unroll_iter58 = and i64 %10, -2
  br label %cond.false.i.i41

cond.false.i.i41:                                 ; preds = %cond.false.i.i41, %cond.false.i.i41.preheader.new
  %val.tr9.i.i42 = phi i64 [ 1, %cond.false.i.i41.preheader.new ], [ %rem3.i.i47.1, %cond.false.i.i41 ]
  %n.tr8.i.i43 = phi i64 [ %1, %cond.false.i.i41.preheader.new ], [ %sub.i.i44.1, %cond.false.i.i41 ]
  %niter59 = phi i64 [ 0, %cond.false.i.i41.preheader.new ], [ %niter59.next.1, %cond.false.i.i41 ]
  %sub.i.i44 = add nsw i64 %n.tr8.i.i43, -1
  %rem1.i.i45 = srem i64 %n.tr8.i.i43, 1000000007
  %mul.i.i46 = mul nsw i64 %rem1.i.i45, %val.tr9.i.i42
  %rem3.i.i47 = srem i64 %mul.i.i46, 1000000007
  %sub.i.i44.1 = add nsw i64 %n.tr8.i.i43, -2
  %rem1.i.i45.1 = srem i64 %sub.i.i44, 1000000007
  %mul.i.i46.1 = mul nsw i64 %rem1.i.i45.1, %rem3.i.i47
  %rem3.i.i47.1 = srem i64 %mul.i.i46.1, 1000000007
  %niter59.next.1 = add i64 %niter59, 2
  %niter59.ncmp.1 = icmp eq i64 %niter59.next.1, %unroll_iter58
  br i1 %niter59.ncmp.1, label %fact.exit50.loopexit.unr-lcssa, label %cond.false.i.i41

fact.exit50.loopexit.unr-lcssa:                   ; preds = %cond.false.i.i41, %cond.false.i.i41.preheader
  %rem3.i.i47.lcssa.ph = phi i64 [ undef, %cond.false.i.i41.preheader ], [ %rem3.i.i47.1, %cond.false.i.i41 ]
  %val.tr9.i.i42.unr = phi i64 [ 1, %cond.false.i.i41.preheader ], [ %rem3.i.i47.1, %cond.false.i.i41 ]
  %n.tr8.i.i43.unr = phi i64 [ %1, %cond.false.i.i41.preheader ], [ %sub.i.i44.1, %cond.false.i.i41 ]
  %lcmp.mod56.not = icmp eq i64 %xtraiter55, 0
  br i1 %lcmp.mod56.not, label %fact.exit50, label %cond.false.i.i41.epil

cond.false.i.i41.epil:                            ; preds = %fact.exit50.loopexit.unr-lcssa
  %rem1.i.i45.epil = srem i64 %n.tr8.i.i43.unr, 1000000007
  %mul.i.i46.epil = mul nsw i64 %rem1.i.i45.epil, %val.tr9.i.i42.unr
  %rem3.i.i47.epil = srem i64 %mul.i.i46.epil, 1000000007
  br label %fact.exit50

fact.exit50:                                      ; preds = %cond.false.i.i41.epil, %fact.exit50.loopexit.unr-lcssa, %fact.exit39
  %val.tr.lcssa.i.i49 = phi i64 [ 1, %fact.exit39 ], [ %rem3.i.i47.lcssa.ph, %fact.exit50.loopexit.unr-lcssa ], [ %rem3.i.i47.epil, %cond.false.i.i41.epil ]
  %mul11 = mul nsw i64 %val.tr.lcssa.i.i49, %val.tr.lcssa.i.i38
  %rem12 = srem i64 %mul11, 1000000007
  %call13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %rem12)
  br label %if.end16

if.else14:                                        ; preds = %if.else
  %call15 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %if.end16

if.end16:                                         ; preds = %fact.exit50, %if.else14, %fact.exit28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %m) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %n) #4
  ret i32 0
}

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

; 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

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

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

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
