#import <stdio.h>
int main(){
    int d;
    scanf("%d",&d);
    printf("%d",d>=64?64:d>=32?32:d>=16?16:d>=8?8:d>=4?4:d>=2?2:1);
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_740/source.m'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_740/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 [3 x i8] c"%d\00", align 1

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
  %d = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %d) #3
  %call = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %d)
  %0 = load i32, ptr %d, align 4, !tbaa !5
  %cmp = icmp sgt i32 %0, 63
  br i1 %cmp, label %cond.end21, label %cond.false

cond.false:                                       ; preds = %entry
  %cmp1 = icmp sgt i32 %0, 31
  br i1 %cmp1, label %cond.end21, label %cond.false3

cond.false3:                                      ; preds = %cond.false
  %cmp4 = icmp sgt i32 %0, 15
  br i1 %cmp4, label %cond.end21, label %cond.false6

cond.false6:                                      ; preds = %cond.false3
  %cmp7 = icmp sgt i32 %0, 7
  br i1 %cmp7, label %cond.end21, label %cond.false9

cond.false9:                                      ; preds = %cond.false6
  %cmp10 = icmp sgt i32 %0, 3
  br i1 %cmp10, label %cond.end21, label %cond.false12

cond.false12:                                     ; preds = %cond.false9
  %cmp13 = icmp sgt i32 %0, 1
  %cond = select i1 %cmp13, i32 2, i32 1
  br label %cond.end21

cond.end21:                                       ; preds = %cond.false, %cond.false6, %cond.false9, %cond.false12, %cond.false3, %entry
  %cond22 = phi i32 [ 64, %entry ], [ 32, %cond.false ], [ 16, %cond.false3 ], [ 8, %cond.false6 ], [ %cond, %cond.false12 ], [ 4, %cond.false9 ]
  %call23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %cond22)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %d) #3
  ret i32 0
}

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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"}
