s=list(eval(input()))

ss=set(s)

print(('yes' if len(s)==len(ss) else 'no'))
s=eval(input())

st=set(s)

print(('yes' if len(st)==len(s) else 'no'))
s = list(eval(input()))
ss = set(s)
print(("yes" if len(s) == len(ss) else "no"))

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

-s = list(eval(input())) -ss = set(s) -print(("yes" if len(s) == len(ss) else "no")) +s = eval(input()) +st = set(s) +print(("yes" if len(st) == len(s) else "no"))