S = eval(input())

s = set(S)

if len(s) == len(S):

  print("yes")

else:

  print("no")
S = eval(input())

if len(S) == len(set(S)):

    print("yes")

else:

    print("no")

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

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

-s = set(S) -if len(s) == len(S): +if len(S) == len(set(S)):