You are given a string S consisting of lowercase English letters. Determine whether all the characters in S are different.
S = input()
S = list(S)
l = set(S)

if S == l:
    print('yes')
else:
    print('no')

S = input()
S = list(S)
l = set(S)

if len(S) == len(l):
    print('yes')
else:
    print('no')
