program main
  implicit none
  character(26) :: s
  integer :: i, j, n
  read(*, *) s
  n = len(trim(s))
  do i = 1, n
    do j = i + 1, n
      if (s(i:i) == s(j:j)) then
        write(*, "(a)") "no"
        stop 0
      end if
    end do
  end do
  write(*, "(a)") "yes"
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.231ad5b9ba888bb078c6bc72bf4c205d = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_7238/source.f\00"
@_QQcl.286129 = linkonce constant [3 x i8] c"(a)"
@_QQcl.6E6F = linkonce constant [2 x i8] c"no"
@_QQcl.796573 = linkonce constant [3 x i8] c"yes"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

define void @_QQmain() local_unnamed_addr {
  %1 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %3 = alloca [26 x i8], align 1
  %4 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.231ad5b9ba888bb078c6bc72bf4c205d, i32 5)
  %5 = call i1 @_FortranAioInputAscii(ptr %4, ptr nonnull %3, i64 26)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %4)
  store ptr %3, ptr %1, align 8, !tbaa !3
  %.fca.1.gep21 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 1
  store i64 26, ptr %.fca.1.gep21, align 8, !tbaa !3
  %.fca.2.gep23 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep23, align 8, !tbaa !3
  %.fca.3.gep25 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep25, align 4, !tbaa !3
  %.fca.4.gep27 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep27, align 1, !tbaa !3
  %.fca.5.gep29 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep29, align 2, !tbaa !3
  %.fca.6.gep31 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep31, align 1, !tbaa !3
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 1
  %.fca.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  store i32 20180515, ptr %.fca.2.gep, align 8, !tbaa !3
  %.fca.3.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep, align 4, !tbaa !3
  %.fca.4.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep, align 1, !tbaa !3
  %.fca.5.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 5
  store i8 2, ptr %.fca.5.gep, align 2, !tbaa !3
  %.fca.6.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep, align 1, !tbaa !3
  %7 = call {} @_FortranATrim(ptr nonnull %2, ptr nonnull %1, ptr nonnull @_QQcl.231ad5b9ba888bb078c6bc72bf4c205d, i32 6)
  %.fca.0.load = load ptr, ptr %2, align 8, !tbaa !3
  %.fca.1.load = load i64, ptr %.fca.1.gep, align 8, !tbaa !3
  %8 = trunc i64 %.fca.1.load to i32
  call void @free(ptr %.fca.0.load)
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph73, label %._crit_edge74

.lr.ph73:                                         ; preds = %0, %._crit_edge
  %.06671 = phi i32 [ %10, %._crit_edge ], [ 1, %0 ]
  %10 = add nuw i32 %.06671, 1
  %11 = sub i32 %8, %.06671
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph73
  %13 = sext i32 %.06671 to i64
  %14 = add nsw i64 %13, -1
  %15 = getelementptr [26 x [1 x i8]], ptr %3, i64 0, i64 %14
  br label %16

16:                                               ; preds = %.lr.ph, %27
  %.06568 = phi i32 [ %10, %.lr.ph ], [ %28, %27 ]
  %17 = sext i32 %.06568 to i64
  %18 = add nsw i64 %17, -1
  %19 = getelementptr [26 x [1 x i8]], ptr %3, i64 0, i64 %18
  %20 = call i32 @_FortranACharacterCompareScalar1(ptr %15, ptr %19, i64 1, i64 1)
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %27

22:                                               ; preds = %16
  %23 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.231ad5b9ba888bb078c6bc72bf4c205d, i32 10)
  %24 = call i1 @_FortranAioOutputAscii(ptr %23, ptr nonnull @_QQcl.6E6F, i64 2)
  %25 = call i32 @_FortranAioEndIoStatement(ptr %23)
  %26 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable

27:                                               ; preds = %16
  %28 = add i32 %.06568, 1
  %exitcond.not = icmp eq i32 %.06568, %8
  br i1 %exitcond.not, label %._crit_edge, label %16

._crit_edge:                                      ; preds = %27, %.lr.ph73
  %exitcond75.not = icmp eq i32 %.06671, %8
  br i1 %exitcond75.not, label %._crit_edge74, label %.lr.ph73

._crit_edge74:                                    ; preds = %._crit_edge, %0
  %29 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.231ad5b9ba888bb078c6bc72bf4c205d, i32 15)
  %30 = call i1 @_FortranAioOutputAscii(ptr %29, ptr nonnull @_QQcl.796573, i64 3)
  %31 = call i32 @_FortranAioEndIoStatement(ptr %29)
  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 {} @_FortranATrim(ptr, ptr, ptr, i32) 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

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 = !{!"descriptor member", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
