program registration
 
 implicit none
 character::s*10,t*11
 integer::n,i,ans

 read*,s,t
 n=len_trim(s)
 !print*,s,t
 
 ans=0
 do i=1,n
  if(s(i:i)/=t(i:i)) then
   ans=ans+1
   exit 
  end if
 end do

 if(ans==0) print*,'Yes'
 if(ans>0) print*,'No'

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.26d72ae435a9cb88d9bd8c2299d810c2 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1408/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 [10 x i8], align 1
  %2 = alloca [11 x i8], align 1
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.26d72ae435a9cb88d9bd8c2299d810c2, i32 7)
  %4 = call i1 @_FortranAioInputAscii(ptr %3, ptr nonnull %1, i64 10)
  %5 = call i1 @_FortranAioInputAscii(ptr %3, ptr nonnull %2, i64 11)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  br label %7

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

15:                                               ; preds = %7
  %16 = trunc i64 %8 to i32
  %17 = add i32 %16, 1
  %spec.select = select i1 %11, i32 0, i32 %17
  %18 = icmp sgt i32 %spec.select, 0
  br i1 %18, label %.lr.ph.preheader, label %.critedge13

.lr.ph.preheader:                                 ; preds = %15
  %19 = add nuw i32 %spec.select, 1
  %wide.trip.count = zext i32 %19 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %select.unfold
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %select.unfold ]
  %20 = add nsw i64 %indvars.iv, -1
  %21 = getelementptr [10 x [1 x i8]], ptr %1, i64 0, i64 %20
  %22 = getelementptr [11 x [1 x i8]], ptr %2, i64 0, i64 %20
  %23 = call i32 @_FortranACharacterCompareScalar1(ptr %21, ptr %22, i64 1, i64 1)
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %select.unfold, label %.critedge12

select.unfold:                                    ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge13, label %.lr.ph

.critedge12:                                      ; preds = %.lr.ph
  %24 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.26d72ae435a9cb88d9bd8c2299d810c2, i32 20)
  %25 = call i1 @_FortranAioOutputAscii(ptr %24, ptr nonnull @_QQcl.4E6F, i64 2)
  br label %28

.critedge13:                                      ; preds = %select.unfold, %15
  %26 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.26d72ae435a9cb88d9bd8c2299d810c2, i32 19)
  %27 = call i1 @_FortranAioOutputAscii(ptr %26, ptr nonnull @_QQcl.596573, i64 3)
  br label %28

28:                                               ; preds = %.critedge13, %.critedge12
  %.sink = phi ptr [ %26, %.critedge13 ], [ %24, %.critedge12 ]
  %29 = 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 @_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}
!3 = !{!4, !4, i64 0}
!4 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
