You are given a string S consisting of lowercase English letters. Determine whether all the characters in S are different.
s = input()
n = len(s)
a=[]
for i in range(n):
    a.append(s[i])

if len(a) == len(set(a)):
    print("Yes")
else:
    print("No")

s = input()
n = len(s)
a=[]
for i in range(n):
    a.append(s[i])

if len(a) == len(set(a)):
    print("yes")
else:
    print("no")
