You are given a string S consisting of lowercase English letters. Determine whether all the characters in S are different.
S = input()
a = []
for i in range (len(S)):
    a.append(S[i])
print(["No", "Yes"][len(set(a)) == len(S)])
S = input()
print(["yes", "no"][len(set(S)) < len(S)])