You are given a string S consisting of lowercase English letters. Determine whether all the characters in S are different.
s = input()
l_s = list(s)
c = 0
for i in range(len(s)):
	if l_s.count(s[i]) != 1:
		c += 1
		print('No')
		break        
        
if c == 0:
	print('Yes')  
s = input()
l_s = list(s)
c = 0
for i in range(len(s)):
	if l_s.count(s[i]) != 1:
		c += 1
		print('no')
		break        
        
if c == 0:
	print('yes')  