import copy

s = eval(input())

ss = list(s)

sss = copy.copy(ss)

n = len(ss)

ans = "yes"



for i in range(n):

  sss = copy.copy(ss)

  sss.remove(sss[i])

  if ss[i] in sss:

    ans = "no"

print(ans)

    
s = list(eval(input()))

n = len(s)

ans = "yes"

for i in range(n):

  if s.count(s[i]) != 1:

    ans = "no"

print(ans)
import copy

s = eval(input())
ss = list(s)
sss = copy.copy(ss)
n = len(ss)
ans = "yes"
for i in range(n):
    sss = copy.copy(ss)
    sss.remove(sss[i])
    if ss[i] in sss:
        ans = "no"
print(ans)

s = list(eval(input()))
n = len(s)
ans = "yes"
for i in range(n):
    if s.count(s[i]) != 1:
        ans = "no"
print(ans)

-import copy - -s = eval(input()) -ss = list(s) -sss = copy.copy(ss) -n = len(ss) +s = list(eval(input())) +n = len(s) -    sss = copy.copy(ss) -    sss.remove(sss[i]) -    if ss[i] in sss: +    if s.count(s[i]) != 1: