program registration
  implicit none
  character(11) :: s, t
  integer :: n
  read(*,*) s
  read(*,*) t
  n = len_trim(s)
  if (s(1:n) == t(1:n)) then
    write(*,'(a)') "Yes"
  else
    write(*,'(a)') "No"
  end if
end program registration
; 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.2c5a73155187164abb6f1ef14840d702 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1404/source.f\00"
@_QQcl.286129 = linkonce constant [3 x i8] c"(a)"
@_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 [11 x i8], align 1
  %2 = alloca [11 x i8], align 1
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.2c5a73155187164abb6f1ef14840d702, i32 5)
  %4 = call i1 @_FortranAioInputAscii(ptr %3, ptr nonnull %1, i64 11)
  %5 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %6 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.2c5a73155187164abb6f1ef14840d702, i32 6)
  %7 = call i1 @_FortranAioInputAscii(ptr %6, ptr nonnull %2, i64 11)
  %8 = call i32 @_FortranAioEndIoStatement(ptr %6)
  br label %9

9:                                                ; preds = %0, %9
  %10 = phi i64 [ 10, %0 ], [ %14, %9 ]
  %11 = getelementptr [11 x [1 x i8]], ptr %1, i64 0, i64 %10
  %12 = load i8, ptr %11, align 1, !tbaa !3
  %13 = icmp eq i8 %12, 32
  %14 = add nsw i64 %10, -1
  %15 = icmp ne i64 %10, 0
  %16 = and i1 %13, %15
  br i1 %16, label %9, label %17

17:                                               ; preds = %9
  %18 = shl i64 %10, 32
  %sext = add i64 %18, 4294967296
  %19 = ashr exact i64 %sext, 32
  %20 = call i64 @llvm.smax.i64(i64 %19, i64 0)
  %21 = select i1 %13, i64 0, i64 %20
  %22 = call i32 @_FortranACharacterCompareScalar1(ptr nonnull %1, ptr nonnull %2, i64 %21, i64 %21)
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %27

24:                                               ; preds = %17
  %25 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.2c5a73155187164abb6f1ef14840d702, i32 9)
  %26 = call i1 @_FortranAioOutputAscii(ptr %25, ptr nonnull @_QQcl.596573, i64 3)
  br label %30

27:                                               ; preds = %17
  %28 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.2c5a73155187164abb6f1ef14840d702, i32 11)
  %29 = call i1 @_FortranAioOutputAscii(ptr %28, ptr nonnull @_QQcl.4E6F, i64 2)
  br label %30

30:                                               ; preds = %24, %27
  %.sink = phi ptr [ %25, %24 ], [ %28, %27 ]
  %31 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

declare ptr @_FortranAioBeginExternalListInput(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 @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #0

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

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