S=input()
flagA = False
flagB = False
flagC = False
for i in range(3):
  if S[i] == "a":
    flagA = True
  elif S[i] == "b":
    flagB = True
  elif S[i] == "c":
    flagC = True
  else:
    pass
if flagA and flagB and flagC:
  print("Yes")
else:
  print("No")
71058664b5b7a97ef39970ac46ce6cd84c3dd8e8
<mask token>

<mask token>
for i in range(3):
    if S[i] == 'a':
        flagA = True
    elif S[i] == 'b':
        flagB = True
    elif S[i] == 'c':
        flagC = True
    else:
        pass
if flagA and flagB and flagC:
    print('Yes')
else:
    print('No')

S = input()
flagA = False
flagB = False
flagC = False
for i in range(3):
    if S[i] == 'a':
        flagA = True
    elif S[i] == 'b':
        flagB = True
    elif S[i] == 'c':
        flagC = True
    else:
        pass
if flagA and flagB and flagC:
    print('Yes')
else:
    print('No')

S=input()
flagA = False
flagB = False
flagC = False
for i in range(3):
  if S[i] == "a":
    flagA = True
  elif S[i] == "b":
    flagB = True
  elif S[i] == "c":
    flagC = True
  else:
    pass
if flagA and flagB and flagC:
  print("Yes")
else:
  print("No")