program coffee
  implicit none

  character(len=1) :: a, b, c, d, e, f

  read '(6A1)', a, b, c, d, e, f

  if (c == d .and. e == f) then
    print *, "Yes"
  else
    print *, "No"
  end if

end program coffee

; 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.2836413129 = linkonce constant [5 x i8] c"(6A1)"
@_QQcl.b17886826cd559883497a610fff42c7a = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1929/source.f\00"
@_QQcl.596573 = linkonce constant [3 x i8] c"Yes"
@_QQcl.4E6F = linkonce constant [2 x i8] c"No"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca [1 x i8], align 1
  %2 = alloca [1 x i8], align 1
  %3 = alloca [1 x i8], align 1
  %4 = alloca [1 x i8], align 1
  %5 = alloca [1 x i8], align 1
  %6 = alloca [1 x i8], align 1
  %7 = tail call ptr @_FortranAioBeginExternalFormattedInput(ptr nonnull @_QQcl.2836413129, i64 5, ptr null, i32 -1, ptr nonnull @_QQcl.b17886826cd559883497a610fff42c7a, i32 6)
  %8 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %1, i64 1)
  %9 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %2, i64 1)
  %10 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %3, i64 1)
  %11 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %4, i64 1)
  %12 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %5, i64 1)
  %13 = call i1 @_FortranAioInputAscii(ptr %7, ptr nonnull %6, i64 1)
  %14 = call i32 @_FortranAioEndIoStatement(ptr %7)
  %15 = call i32 @_FortranACharacterCompareScalar1(ptr nonnull %3, ptr nonnull %4, i64 1, i64 1)
  %16 = call i32 @_FortranACharacterCompareScalar1(ptr nonnull %5, ptr nonnull %6, i64 1, i64 1)
  %17 = or i32 %16, %15
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %22

19:                                               ; preds = %0
  %20 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.b17886826cd559883497a610fff42c7a, i32 9)
  %21 = call i1 @_FortranAioOutputAscii(ptr %20, ptr nonnull @_QQcl.596573, i64 3)
  br label %25

22:                                               ; preds = %0
  %23 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.b17886826cd559883497a610fff42c7a, i32 11)
  %24 = call i1 @_FortranAioOutputAscii(ptr %23, ptr nonnull @_QQcl.4E6F, i64 2)
  br label %25

25:                                               ; preds = %19, %22
  %.sink = phi ptr [ %20, %19 ], [ %23, %22 ]
  %26 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

declare ptr @_FortranAioBeginExternalFormattedInput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

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

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare i32 @_FortranACharacterCompareScalar1(ptr, ptr, i64, i64) local_unnamed_addr

declare ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) 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}
