program cv
  implicit none
  integer :: n
  read(*,*) n
  select case(n)
    case(:104)
      write(*,'(i0)') 0
    case(105:134)
      write(*,'(i0)') 1
    case(135:164)
      write(*,'(i0)') 2
    case(165:188)
      write(*,'(i0)') 3
    case(189:194)
      write(*,'(i0)') 4
    case(195:200)
      write(*,'(i0)') 5
    case default
      write(*,'(i0)') 0
  end select
  stop
end program cv
; 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.89eda4b2a9f986da1e50d6f0ed45d6a1 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_5643/source.f\00"
@_QQcl.28693029 = linkonce constant [4 x i8] c"(i0)"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.89eda4b2a9f986da1e50d6f0ed45d6a1, i32 4)
  %3 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %1, i32 4)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = load i32, ptr %1, align 4, !tbaa !3
  %6 = icmp slt i32 %5, 105
  br i1 %6, label %17, label %7

7:                                                ; preds = %0
  %8 = icmp ult i32 %5, 135
  br i1 %8, label %17, label %9

9:                                                ; preds = %7
  %10 = icmp ult i32 %5, 165
  br i1 %10, label %17, label %11

11:                                               ; preds = %9
  %12 = icmp ult i32 %5, 189
  br i1 %12, label %17, label %13

13:                                               ; preds = %11
  %14 = icmp ult i32 %5, 195
  br i1 %14, label %17, label %15

15:                                               ; preds = %13
  %16 = icmp ult i32 %5, 201
  %. = select i1 %16, i32 17, i32 19
  %.7 = select i1 %16, i32 5, i32 0
  br label %17

17:                                               ; preds = %13, %15, %11, %9, %7, %0
  %.sink = phi i32 [ 7, %0 ], [ 9, %7 ], [ 11, %9 ], [ 13, %11 ], [ %., %15 ], [ 15, %13 ]
  %.sink6 = phi i32 [ 0, %0 ], [ 1, %7 ], [ 2, %9 ], [ 3, %11 ], [ %.7, %15 ], [ 4, %13 ]
  %18 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.89eda4b2a9f986da1e50d6f0ed45d6a1, i32 %.sink)
  %19 = call i1 @_FortranAioOutputInteger32(ptr %18, i32 %.sink6)
  %20 = call i32 @_FortranAioEndIoStatement(ptr %18)
  %21 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

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

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

attributes #0 = { noreturn }

!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"}
