program main
	implicit none
    character(10)::s
    read(*,*)s
    if(len_trim(s)<=3)then
    	write(*,*)'No'
    else
    	if(s(1:4)=='YAKI')then
        	write(*,*)'Yes'
        else
        	write(*,*)'No'
        end if
    end if
    stop
    
end program main
; 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.73622c1f8f288f8e7ea089eb22cbcb9f = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6872/source.f\00"
@_QQcl.4E6F = linkonce constant [2 x i8] c"No"
@_QQcl.59414B49 = linkonce constant [4 x i8] c"YAKI"
@_QQcl.596573 = linkonce constant [3 x i8] c"Yes"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
  %1 = alloca [10 x i8], align 1
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.73622c1f8f288f8e7ea089eb22cbcb9f, i32 4)
  %3 = call i1 @_FortranAioInputAscii(ptr %2, ptr nonnull %1, i64 10)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  br label %5

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

13:                                               ; preds = %5
  %14 = trunc i64 %6 to i32
  %15 = add i32 %14, 1
  %16 = icmp slt i32 %15, 4
  %17 = select i1 %9, i1 true, i1 %16
  br i1 %17, label %21, label %18

18:                                               ; preds = %13
  %19 = call i32 @_FortranACharacterCompareScalar1(ptr nonnull %1, ptr nonnull @_QQcl.59414B49, i64 4, i64 4)
  %20 = icmp eq i32 %19, 0
  %. = select i1 %20, i32 9, i32 11
  %.6 = select i1 %20, i64 3, i64 2
  %_QQcl.596573._QQcl.4E6F = select i1 %20, ptr @_QQcl.596573, ptr @_QQcl.4E6F
  br label %21

21:                                               ; preds = %18, %13
  %.sink = phi i32 [ 6, %13 ], [ %., %18 ]
  %.sink5 = phi i64 [ 2, %13 ], [ %.6, %18 ]
  %_QQcl.4E6F.sink = phi ptr [ @_QQcl.4E6F, %13 ], [ %_QQcl.596573._QQcl.4E6F, %18 ]
  %22 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.73622c1f8f288f8e7ea089eb22cbcb9f, i32 %.sink)
  %23 = call i1 @_FortranAioOutputAscii(ptr %22, ptr nonnull %_QQcl.4E6F.sink, i64 %.sink5)
  %24 = call i32 @_FortranAioEndIoStatement(ptr %22)
  %25 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

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

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

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