from collections import Counter

s=Counter(eval(input())).most_common()

for _,i in s:

  if i !=1:

    print('no')

    exit()

print('yes')

s=eval(input())

if len(s) ==len(set(s)):

  print('yes')

else:

  print('no')
from collections import Counter

s = Counter(eval(input())).most_common()
for _, i in s:
    if i != 1:
        print("no")
        exit()
print("yes")

s = eval(input())
if len(s) == len(set(s)):
    print("yes")
else:
    print("no")

-from collections import Counter - -s = Counter(eval(input())).most_common() -for _, i in s: -    if i != 1: -        print("no") -        exit() -print("yes") +s = eval(input()) +if len(s) == len(set(s)): +    print("yes") +else: +    print("no")