program christmas_eve_eve_eve
  implicit none
  integer :: d
  read(*,*) d
  write(*,'(a)',advance='no') "Christmas"
  d = 25-d
  do while (d > 0)
    write(*,'(a)',advance='no') " Eve"
    d = d-1
  end do
  write(*,*)
end program christmas_eve_eve_eve
; 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.fe85ca5ef61aba32ec037bcd3d7d7a6a = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_5276/source.f\00"
@_QQcl.286129 = linkonce constant [3 x i8] c"(a)"
@_QQcl.6E6F = linkonce constant [2 x i8] c"no"
@_QQcl.4368726973746D6173 = linkonce constant [9 x i8] c"Christmas"
@_QQcl.20457665 = linkonce constant [4 x i8] c" Eve"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca i32, align 4
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.fe85ca5ef61aba32ec037bcd3d7d7a6a, i32 4)
  %3 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %1, i32 4)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.fe85ca5ef61aba32ec037bcd3d7d7a6a, i32 5)
  %6 = call i1 @_FortranAioSetAdvance(ptr %5, ptr nonnull @_QQcl.6E6F, i64 2)
  %7 = call i1 @_FortranAioOutputAscii(ptr %5, ptr nonnull @_QQcl.4368726973746D6173, i64 9)
  %8 = call i32 @_FortranAioEndIoStatement(ptr %5)
  %9 = load i32, ptr %1, align 4, !tbaa !3
  %10 = sub i32 25, %9
  store i32 %10, ptr %1, align 4, !tbaa !3
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %12 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.fe85ca5ef61aba32ec037bcd3d7d7a6a, i32 8)
  %13 = call i1 @_FortranAioSetAdvance(ptr %12, ptr nonnull @_QQcl.6E6F, i64 2)
  %14 = call i1 @_FortranAioOutputAscii(ptr %12, ptr nonnull @_QQcl.20457665, i64 4)
  %15 = call i32 @_FortranAioEndIoStatement(ptr %12)
  %16 = load i32, ptr %1, align 4, !tbaa !3
  %17 = add i32 %16, -1
  store i32 %17, ptr %1, align 4, !tbaa !3
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %19 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.fe85ca5ef61aba32ec037bcd3d7d7a6a, i32 11)
  %20 = call i32 @_FortranAioEndIoStatement(ptr %19)
  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 @_FortranAioSetAdvance(ptr, ptr, i64) local_unnamed_addr

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) local_unnamed_addr

declare ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) 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"}
