Problem:
 Score : 100 points    Problem Statement You are given a string S of length 3 consisting of a , b and c . Determine if S can be obtained by permuting abc .      Constraints  |S|=3  S consists of a , b and c .         Input Input is given from Standard Input in the following format:  S       Output If S can be obtained by permuting abc , print Yes ; otherwise, print No .        Sample Input 1 bac      Sample Output 1 Yes  Swapping the first and second characters in bac results in abc .       Sample Input 2 bab      Sample Output 2 No       Sample Input 3 abc      Sample Output 3 Yes       Sample Input 4 aaa      Sample Output 4 No

Solution (Python):
print "Yes" if len(set(raw_input())) == 3 else "No"

Solution (Python):
s = input()
sort_s = ''
for _ in sorted(s):
    sort_s += _
if sort_s == 'abc':
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
res = s.count('a')==1
res += s.count('b')==1
res += s.count('c')==1
if res==3:
  print('Yes')
else:
  print('No')

Solution (Python):
S = input()

a = S.count('a')
b = S.count('b')
c = S.count('c')

if a==1 and b==1 and c==1:
	print('Yes')
else:
	print('No')

Solution (Python):
def abc(s):
    word = list(s)
    if word[0] != word[1] and word[0] != word[2] and word[1] != word[2]:
        print("Yes")
    else:
        print("No")

S = input()
abc(S)

Solution (Python):
S = input().replace("a","",1).replace("b","",1).replace("c","",1)
if S:
    print("No")
else:
    print("Yes")

Solution (Python):
print("Yes" if "".join(sorted(input())) == "abc" else "No")

Solution (Python):

li = list(input())	
li.sort()

if li == ['a','b','c']:
	print('Yes')
else:
	print('No')

Solution (Python):
S = input()
print("Yes" if sorted(S) == ["a","b","c"] else "No")

Solution (Python):
from collections import Counter
S = Counter(input())
if S['a'] >= 1 and S['b'] >= 1 and S['c'] >= 1:
    print('Yes')
else:
    print('No')

Solution (Python):
X=input()
A=X[0]
B=X[1]
C=X[2]
if A!=B and B!=C and C!=A:
    print("Yes")
else:
    print("No")

Solution (Python):
S = list(input())
if S.count("a") == 1 and S.count("b") == 1 and S.count("c") == 1:
	print("Yes")
else:
	print("No")

Solution (Python):
s=input("")
if s.find("a") != -1 and s.find("b") !=-1 and s.find("c") != -1:
    print("Yes")
else:
    print("No")

Solution (Python):
s = ["a","b","c"]

n = input()

lis = sorted(n)

if s == lis:
    print("Yes")

elif s != lis:
    print("No")

Solution (Python):
s = ["a","b","c"]

n = input()

lis = sorted(n)

if s == lis:
    print("Yes")

elif s != lis:
    print("No")

Solution (Python):
print(['No','Yes'][sorted(input())==list('abc')])

Solution (Python):
S = list(input())

S.sort()

S2=''.join(S)

if S2=="abc":
    print("Yes")
else:
    print("No")

Solution (Python):
S=input()
if S=='abc'or S=='cab' or S=='bca' or S=='bac'or S=='acb' or S=='cba':
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
print("Yes" if ''.join(sorted(s)) == "abc" else "No")

Solution (Python):
s=input()
if set(s)=={"a", "b", "c"}:
  print("Yes")
else:
  print("No")

Solution (Python):
print("Yes" if sorted(input()) == ['a','b','c'] else "No")

Solution (Python):
print("Yes" if "".join(sorted(input())) == "abc" else "No")

Solution (Python):
a = list(input())
print("Yes" if "".join(sorted(a)) == "abc" else "No")

Solution (Python):
a = input()
print("Yes" if "a" in a and "b" in a and"c" in a else "No")

Solution (Python):
s = input()

S = []
for w in s:
    S.append(w)

if S[0] != S[1] and S[1] != S[2] and S[2] != S[0]:
    print("Yes")
else:
    print("No")

Solution (Python):
l = input()
l = list(l)



a = l.count("a")
b = l.count("b")
c = l.count("c")

if a == 1 and b == 1 and c == 1:
	print("Yes")
else:
	print("No")

Solution (Python):
S = input()

l = sorted(S)
if (l[0]+l[1]+l[2]) == "abc":
    print("Yes")
else:
    print("No")

Solution (Python):
a = input()
if a.count("a") == 1 and a.count("b") == 1 and a.count("c") == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
S = list(input())
S.sort()
if S == ["a","b","c"]:
    print("Yes")
else:
    print("No")

Solution (Python):
a = input()
if a.count("a") == 1 and a.count("b") == 1 and a.count("c") == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()
if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Solution (Python):
a = input()
if a.count("a") == 1 and a.count("b") == 1 and a.count("c") == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
s = str(input())
l = ['a','b','c']
if s[0] == 'a' and s[1] == 'b' and s[2] == 'c':
  print("Yes")
elif s[0] == 'a' and s[1] == 'c' and s[2] == 'b':
  print("Yes")
elif s[0] == 'b' and s[1] == 'a' and s[2] == 'c':
  print("Yes")
elif s[0] == 'b' and s[1] == 'c' and s[2] == 'a':
  print("Yes")
elif s[0] == 'c' and s[1] == 'a' and s[2] == 'b':
  print("Yes")
elif s[0] == 'c' and s[1] == 'b' and s[2] == 'a':
  print("Yes")
  
else:
  print("No")

Solution (Python):
S = list(input())

AAA = 0
BBB = 0
CCC = 0

for i in range(3):
    if S[i] == "a":
        AAA = 1
    if S[i] == "b":
        BBB = 1
    if S[i] == "c":
        CCC = 1
else:
    if AAA == 1 and BBB == 1 and CCC == 1:
        print("Yes")
    else:
        print("No")

Solution (Python):
s = input()
print("Yes" if "a" in s and "b" in s and "c" in s and len(list(s)) == 3 else "No")

Solution (Python):
S = input()
a = ['a', 'b', 'c']
for i in a:
    if i not in S:
        print('No')
        exit()
print('Yes')

Solution (Python):
s=input()
if s.count("a")==1 and s.count("b")==1 and s.count("c")==1:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()

if 'a' in S and 'b' in S and 'c' in S:
    print('Yes')
else:
    print('No')

Solution (Python):
if ''.join(sorted(raw_input())) == 'abc':
  print 'Yes'
else:
  print 'No'

Solution (Python):
s = input()
if set(s) == set('abc'):
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
print('Yes' if 'a' in S and 'b' in S and 'c' in S else 'No')

Solution (Python):
S = input()
if S.count("a") == S.count("b") == S.count("c") == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
S=input()
n=int(S.count('a'))
m=int(S.count('b'))
if n==1 and m==1:
	print("Yes")
else:
	print("No")

Solution (Python):
s=input()
if set("abc")==set(s):
  print("Yes")
else:
  print("No")

Solution (Python):
print("Yes" if sorted(input())==['a', 'b', 'c'] else "No")

Solution (Python):
s=input()
if s=='abc' or s=='acb' or s=='bac' or s=='bca' or s=='cab' or s=='cba':
  print('Yes')
else:
  print('No')

Solution (Python):
S = input()
print(["No","Yes"]["a" in S and "b" in S and "c" in S])

Solution (Python):
S = input()

if S.count("a")==1 and S.count("b")==1 and S.count("c")==1:
    print("Yes")
else:
    print("No")

Solution (Python):
S=input()
print( "Yes" if S.count("a") == S.count("b") == S.count("c") == 1 else "No")

Solution (Python):
S = list(input())
if S.count("a") == S.count("b") == S.count("c") == 1:
  print("Yes")
else:
  print("No")

Solution (Python):
print('Yes' if set(input()) == set('abc') else 'No')

Solution (Python):
a = input()
b = sorted(a)


c = b[0] + b[1] + b[2]
if "abc" == c:
    print("Yes")
else:
    print("No")

Solution (Python):
S = [x for x in input()]
S.sort()
ans = 'Yes' if ''.join(S) == 'abc' else 'No'
print(ans)

Solution (Python):
S = str(input())

if "a" in S and "b" in S and "c" in S:
  print("Yes")
else:
  print("No")

Solution (Python):
S = input()
a = bool(0)
b = bool(0)
c = bool(0)
for i in range(3):
    if(S[i] is "a"):a = 1
    if(S[i] is "b"):b = 1
    if(S[i] is "c"):c = 1
if(a and b and c):print("Yes")
else:print("No")

Solution (Python):
inputString = input()
if ("".join(sorted(inputString)) == "abc"):
    print("Yes")
else:
    print("No")

Solution (Python):
s=list(input())
s.sort()
a=["a","b","c"]
if(s==a):print("Yes")
else:print("No")

Solution (Python):

S = set(input())

if S == set(['a', 'b', 'c']):
    print('Yes')
else:
    print('No')

Solution (Python):
S = list(input())
if S.count("a") == 1 and S.count("b") == 1 and S.count("c") == 1:
  print("Yes")
else:
  print("No")

Solution (Python):
s = set(list(input()))
if len(s) == 3:
    print("Yes")
else:
    print("No")

Solution (Python):
a=input()
print('Yes'if a[0]!=a[1]and a[0]!=a[2]and a[1]!=a[2]else'No')

Solution (Python):
S = input()
result = 'No'

if 'a' in S:
    if 'b' in S:
        if 'c' in S:
            result = 'Yes'

print(result)

Solution (Python):
S = input()
if S[0] != S[1] != S[2] != S[0]:
    print("Yes")
else:
    print("No")

Solution (Python):
S=str(input())
L=list(S)
L.sort()
if L == ['a','b','c']:
        print('Yes')
else:
        print('No')

Solution (Python):
S = [s for s in input()]
cnt = 0
for i in S:
  if i=='a':
    cnt+=1
  if i=='b':
    cnt+=10
  if i=='c':
    cnt+=100
    

if cnt==111:
  print('Yes')
else:
  print('No')

Solution (Python):
S = list(input())
S.sort()
if S == ['a','b','c']:
	print("Yes")
else:
	print("No")

Solution (Python):
S = input()
print("Yes" if 'a' in S and 'b' in S and 'c' in S else "No")

Solution (Python):
print(['No', 'Yes'][set(input()) == set('abc')])

Solution (Python):
S = str(input() )
if ('a' in S) == ('b' in S) == ('c' in S) == True: 
    print('Yes')
else :
    print('No')

Solution (Python):
S = input()
if S[0]!=S[1] and S[1]!=S[2] and S[2]!=S[0]:
  print("Yes")
else:
  print("No")

Solution (Python):
strlist = input()
strlist = list(strlist)

if strlist.count('a') == 0 or strlist.count('b') == 0 or strlist.count('c') == 0:
   print("No")
else:
  print("Yes")

Solution (Python):
S = input()
if 'a' in S and 'b' in S and 'c' in S:
    print('Yes')
else:
    print('No')

Solution (Python):
a = input()

if "a" in a and "b" in a and "c" in a:
  print("Yes")
else:
  print("No")

Solution (Python):
S = input()
if S.count('a') == S.count('b') == S.count('c'):
    print('Yes')
else:
    print('No')

Solution (Python):



S = list(input())


count = 0
if S.count('a'):
	count += 1
if S.count('b'):
	count += 1
if S.count('c'):
	count += 1


if count == 3:
	print("Yes")
else:
	print("No")

Solution (Python):
S=list(raw_input())
S.sort()
print "Yes" if S==['a','b','c'] else "No"

Solution (Python):
from sys import stdin
word = stdin.readline().rstrip()
print("Yes") if word.count("a") == 1 and word.count("b") == 1 and word.count("c") == 1 else print("No")

Solution (Python):
S = input()

print('Yes' if 'a' in S and 'b' in S and 'c' in S else 'No')

Solution (Python):
S = input()
if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
if s.find('a') == -1 or s.find('b') == -1 or s.find('c') == -1:
    print('No')
else:
    print('Yes')

Solution (Python):
s = set(list(input()))
correct = {'a', 'b', 'c'}

if s == correct:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
if s[0] != s[1] and s[1] != s[2] and s[2] != s[0]:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
if s.find('a') == -1 or s.find('b') == -1 or s.find('c') == -1:
    print('No')
else:
    print('Yes')

Solution (Python):
s = list(input())

if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
abc_list = set(S)
if abc_list == set("abc") :
    print("Yes")
else :
    print("No")

Solution (Python):
inp = raw_input()

c = set([i for i in inp])
if len(c) == 3:
    print "Yes"
else:
    print "No"

Solution (Python):
s=input()

if s.count("a")==1 and s.count("b")==1 and s.count("c")==1: print("Yes")
else: print("No")

Solution (Python):
s = input()
a = ["a","b","c"]
b = 0
for i in a:
  if i in s:
    b+=1
if b == 3:
  print("Yes")
else :
  print("No")

Solution (Python):
str = input()
if "a" in str and "b" in str and "c"  in str:
  print("Yes")
else: 
  print("No")

Solution (Python):
a=set(list(input().strip()))
print("Yes" if len(a)==3 else "No")

Solution (Python):
S = input()
if "a" not in S or "b" not in S or "c" not in S:
	print('No')
else:
	print('Yes')

Solution (Python):
S = input()

if(('a' in S)and('b' in S)and('c' in S)):
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()

if(('a' in S)and('b' in S)and('c' in S)):
    print("Yes")
else:
    print("No")

Solution (Python):
print("Yes" if len(set(input())) == 3 else "No")

Solution (Python):
print("Yes" if len(set(input())) == 3 else "No")

Solution (Python):
s = input()
print("Yes" if 'a' in s and 'b' in s and 'c' in s else "No")

Solution (Python):
d = list(input())
a = 0
b = 0
c = 0
for i in range(3):
  if d[i] == "a":
    a = 1
  if d[i] == "b":
    b = 1
  if d[i] == "c":
    c = 1
    
    
if a*b*c == 1:
  print("Yes")
else:
  print("No")

Solution (Python):
s = list(input())

for c in list("abc"):
	if not c in s:
		print("No")
		exit()

print("Yes")

Solution (Python):

S = input()

if "a" in S and "b" in S and "c" in S:
    print("Yes")

else: print("No")

Solution (Python):
s = list(input())
if s.count('a') == 1 and s.count('b') == 1 and s.count('c') == 1:
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    s = input()
    
    if 'a' in s and 'b' in s and 'c' in s:
        print("Yes")
    else:
        print("No")

    
if __name__ == '__main__':
    main()

Solution (Python):
S =input()
if "a" in S and "b" in S and "c" in S:
	print("Yes")
else:
  	print("No")

Solution (Python):
def abc093a():
    s = input()
    return ["No", "Yes"][(("a" in s) + ("b" in s) + ("c" in s)) == 3]

print(abc093a())

Solution (Python):
S = input()
if S[0] != S[1] and S[1] != S[2] and S[2] != S[0]:
    print("Yes")
else:
    print("No")

Solution (Python):
print('Yes' if ''.join(sorted(input()))=='abc' else 'No')

Solution (Python):
s = [x for x in input()]
s.sort()
print('Yes' if 'abc' == ''.join(s) else 'No')

Solution (Python):
s = raw_input()
if (s[0] != s[1]) and (s[0] != s[2]) and (s[1] != s[2]):
    print "Yes"
else:
    print "No"

Solution (Python):
s = input()

for i in 'abc':
    if i in s:
        continue
    else:
        print("No")
        exit()
print("Yes")

Solution (Python):
s = sorted(input())
ans = ['a', 'b', 'c']
print("Yes" if s == ans else "No")

Solution (Python):
print("Yes" if "".join(sorted(input()))=="abc" else "No")

Solution (Python):
S = input()
if (S[0] == S[1]) or (S[1] == S[2]) or (S[2] == S[0]):
    print("No")
else:
    print("Yes")

Solution (Python):
s = sorted(input())
s = s[0]+s[1]+s[2]

if s=="abc":
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
l = []
for i in s:
	l.append(i)
	l.sort()
print('Yes' if ''.join(l) == 'abc' else 'No')

Solution (Python):
print('Yes' if ''.join(sorted(input())) == 'abc' else 'No')

Solution (Python):
string = input()

if 'a' in string and 'b' in string and 'c' in string:
    print('Yes')
else:
    print('No')

Solution (Python):



s = list(input())

s.sort()
if s[0] == 'a' and s[1] == 'b' and s[2] == 'c':
    print("Yes")
else:
    print("No")

Solution (Python):
abc = list(input())

if ('a' in abc) and ('b' in abc) and ('c' in abc):
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
if "".join(sorted(list(s))) == "abc":
    print("Yes")
else:
    print("No")

Solution (Python):
x = input()
a = 0
if x.count("a") == 1:
    a += 1
if x.count("b") == 1:
    a += 1
if a == 2:
    print("Yes")
else:
    print("No")

Solution (Python):
print "Yes" if (sorted(raw_input()) == list("abc")) else "No"

Solution (Python):
mojiretu = input()

a = mojiretu.count("a")
b = mojiretu.count("b")
c = mojiretu.count("c")

if int(a) ==1 and int(b) ==1 and int(c)==1:
    print("Yes")
else:
    print("No")

Solution (Python):
s=input()
a = 0
b = 0
c = 0
for i in range(3):
    if s[i] == 'a':
        a = a + 1
    elif s[i] == 'b':
        b = b + 1
    elif s[i] == 'c':
        c = c + 1
if a == 1 and b == 1 and c == 1:
    print('Yes')
else:
    print('No')

Solution (Python):
s=input()
if s in ['abc','acb','bac','bca','cab','cba']:
    print('Yes')
else:
    print('No')

Solution (Python):
S=input().strip()
print("Yes" if "".join(sorted(S)) == "abc" else "No")

Solution (Python):
if len(set(input()))==3:
    print("Yes")
else:
    print("No")

Solution (Python):
m = list(input())
if len(set(m)) == 3:
    print("Yes")
else:
    print("No")

Solution (Python):

s = input()
letters = set(s)
perm_abc = len(letters) == 3 and all(c in letters for c in 'abc')
if perm_abc:
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
if S.count("a")==1 and S.count("b") == 1 and S.count("c") == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
print("Yes" if (sorted(list(input()))==["a","b","c"]) else "No")

Solution (Python):

s=input()
print('Yes' if 'a' in s and 'b' in s and 'c' in s else 'No')

Solution (Python):
S = input()
if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()
ans = 0
for i in S:
    if i == "a":
        ans += 1
    elif i == "b":
        ans += 2
    elif i == "c":
        ans += 3
if ans == 6:
    print("Yes")
else:
    print("No")

Solution (Python):
s=input()

if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
print("Yes" if "".join(sorted(list(input()))) == "abc" else "No")

Solution (Python):
s = input()
if 'a' in s and 'b' in s and 'c' in s:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()
if(S.count("a")*S.count("b")*S.count("c")) == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
print(["No","Yes"]["".join(sorted(input()))=="abc"])

Solution (Python):
s = input()
if "a" in s:
    if "b" in s:
        if "c" in s:
            print("Yes")
if "a" not in s or "b" not in s or "c" not in s:
    print("No")

Solution (Python):
S=str(input())
if 'a' in S and 'b' in S and 'c' in S:
    print('Yes')
else:
    print('No')

Solution (Python):

s = list(input())
s.sort()
if "".join(s) == "abc":
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
a = ['abc', 'cba', 'acb', 'bca', 'cab', 'bac']
if s in a:
    print('Yes')
else:
    print('No')

Solution (Python):
s = list(input())
s.sort()
if "".join(s) == "abc":
    print('Yes')
else:
    print('No')

Solution (Python):
import itertools
S = input()
abclist = list(itertools.permutations(['a','b','c']))
flag=0
for i in range(len(abclist)):
    if S == ''.join(abclist[i]):
        print('Yes')
        flag=1
        
if flag==0:
    print('No')

Solution (Python):
s = input()
if set([s[0], s[1], s[2]]) == set(['a', 'b', 'c']):
    print('Yes')
else:
    print('No')

Solution (Python):
abc = ["abc"[i] for i in range(3)]
raws = input()
target=[raws[i] for i in range(3)]
tmp = list(filter(lambda x:x in target, abc))
if len(tmp) == 3:
     print("Yes")
else:
     print("No")

Solution (Python):
s = list(input())
s.sort()
if ''.join(s) == 'abc':
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()

S_list = list(S)
S_list.sort()

if S_list == ['a', 'b', 'c']:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
r = 0

for c in s:
    if c == 'a':
        r += 1
    if c == 'b':
        r += 2
    if c == 'c':
        r += 4

if r == 7:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()

if s.find('a') != -1 and s.find('b') != -1 and s.find('c') != -1:
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
if ("a" in s)and("b" in s)and("c" in s):
  print("Yes")
else:
  print("No")

Solution (Python):
s = input(str())

if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
str = input()
def check_str(str, ans):
    return str.find(ans)

if(check_str(str, "a") == -1):
    print("No")
elif(check_str(str, "b") == -1):
    print("No")
elif(check_str(str, "c") == -1):
    print("No")
else:
    print("Yes")

Solution (Python):
S = input()

if S[0] == S[1] or S[0] == S[2] or S[1] == S[2]:
    print("No")
else:
    print("Yes")

Solution (Python):
print(["No","Yes"][set("abc")==set(input())])

Solution (Python):
x = input()
a = b = c = 1
for i in range(3):
    if x[i] == 'a':
        a -= 1
    elif x[i] == 'b':
        b -= 1
    else:
        c -= 1
if a == 0 and b == 0 and c == 0: 
    print("Yes")
else:
    print("No")

Solution (Python):
print('Yes' if sorted(input()) == ['a', 'b', 'c'] else 'No')

Solution (Python):
S = input()
if len(set((S[0], S[1], S[2]))) == 3:
    print("Yes")
else:
    print("No")

Solution (Python):
print("Yes" if sorted(list(input()))==["a","b","c"] else "No")

Solution (Python):
S = input()
if 'a' in S and 'b' in S and 'c' in S :
	print ('Yes')
else:
  print ('No')

Solution (Python):
import sys
t = raw_input()
d = {}
d['a'] = 0
d['b'] = 0
d['c'] = 0
for a in t:
    d[a] += 1
for k,v in d.items():
    if v != 1:
        print("No")
        sys.exit()
print("Yes")

Solution (Python):
S=input()
if 'a' in S and 'b' in S and 'c' in S: print('Yes')
else: print('No')

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    s = [_ for _ in S()]
    s.sort()
    if s == ['a', 'b', 'c']:
        return 'Yes'


    return 'No'


print(main())

Solution (Python):
S = input()
if 'a' in S and 'b' in S and 'c' in S: print('Yes')
else: print('No')

Solution (Python):
S=input()
if "a" in str(S) and "b" in str(S) and "c" in str(S):
    print("Yes")
else:
    print("No")

Solution (Python):
S=input()
if set(S)=={'a','b','c'} and len(S)==3:
    print('Yes')
else:
    print('No')

Solution (Python):
s=input()
flag = s.count('a')*s.count('b')*s.count('c')
if flag >=1:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()

lst = [0,0,0]

for i in range(len(s)):
    if s[i]=="a":
        lst[0]=1
    if s[i]=="b":
        lst[1]=1
    if s[i]=="c":
        lst[2]=1
if lst[0]+lst[1]+lst[2]==3:
    print("Yes")
else: print("No")

Solution (Python):
if __name__ == '__main__':
	s = str(input())
	a_s = s
	if a_s[0] != a_s[1] and a_s[0] != a_s[2] and a_s[1] != a_s[2]:
		print('Yes')
	else:
		print('No')

Solution (Python):
a=list(input())
if ('a' in a) & ('b' in a) & ('c' in a):
  print('Yes')
else:
  print('No')

Solution (Python):






s = input()





dic = {'a': 0, 'b': 0, 'c': 0}





for c in s:
    if c in dic:
        dic[c] += 1





if dic['a'] == 1 and dic['b'] == 1 and dic['c'] == 1:
    print ('Yes')
else:
    print ('No')

Solution (Python):
s = input()

if len(s) == 3 and 'a' in s and 'b' in s and 'c' in s:
  print ('Yes')
else:
  print('No')

Solution (Python):
a = input()
if a.count('a') ==a.count('b') ==a.count('c'):
    print('Yes')
else:
    print('No')

Solution (Python):


s = input()
result = 'Yes'
for c in 'abc':
    if c not in s:
        result = 'No'
print(result)

Solution (Python):
S=str(input())
X=list(S)
if 'a' in X and 'b' in X and 'c' in X:
  print("Yes")
else:
  print("No")

Solution (Python):

S = raw_input()
tmp = ['a','b','c']

for i in range(3):
    index = S.find(tmp[i])
    if index == -1: break
    S = S[:index]+S[index+1:]

if len(S) > 0:
    print('No')
else:
    print('Yes')

Solution (Python):
s = set(input())
a = set("abc")

if a == s:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()

if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()
if 'a' in S and 'b' in S and 'c' in S:
    print("Yes")
else:
    print("No")

Solution (Python):
s=input()
if s[0]!=s[1] and s[1]!=s[2] and s[2]!=s[0]:
   print("Yes")
else:
   print("No")

Solution (Python):
a,b,c = 0,0,0
for i in input():
    if i == 'a':
        a = 1
    if i == 'b':
        b = 1
    if i == 'c':
        c = 1

if a == 1 and b == 1 and c == 1 :
    print("Yes")
else :
    print("No")

Solution (Python):
s=input()
if (s[0] != s[1] and s[1] != s[2] and s[0] != s[2]):
    print("Yes")
else: 
    print("No")

Solution (Python):
S = input()

if('a' in S and 'b' in S and 'c' in S):
    print('Yes')
else:
    print('No')

Solution (Python):
print("Yes"  if ''.join(sorted(list(input()))) == "abc" else "No")

Solution (Python):
print("Yes"  if ''.join(sorted(list(input()))) == "abc" else "No")

Solution (Python):
a=input()
aa=[]
for i in range(len(a)):
    aa.append(a[i])
aa.sort()
b=""
for i in range(len(aa)):
    b+=aa[i]
if b=="abc":
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()
ABC = 'abc'
ans = 'No'
for i in range(3):
	if(ABC[i] not in S): break
else: ans = 'Yes'
print(ans)

Solution (Python):
s = input()
a = ["a","b","c"]
from itertools import permutations
def solve(s):
    for i,j,k in permutations(a):
        if i+j+k ==s:
            return "Yes"
    return "No"
print(solve(s))

Solution (Python):
s = input()
if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
s = list(str(input()))

sumw = 0

for i in s:
    if i is 'a':
        sumw += 1
    if i is 'b':
        sumw += 2
    if i is 'c':
        sumw += 4


if sumw is 7:
    print("Yes")

else:
    print("No")

Solution (Python):
s = input()
s = "".join(sorted(s))
print("Yes" if s == "abc" else "No")

Solution (Python):


a = input()

if (a.count("a") and a.count("b") and a.count("c") ):
    print("Yes")

else:
    print("No")

Solution (Python):
print "Yes" if "".join(sorted(list(raw_input().strip()))) == "abc" else "No"

Solution (Python):
s_str = input()

check_list = ['a', 'b', 'c']
result_list = [[s == check for check in check_list] for s in s_str]
r1, r2, r3 = result_list
result = all([s1 or s2 or s3 for s1, s2, s3 in zip(r1, r2, r3)])

if result:
    print('Yes')
else:
    print('No')

Solution (Python):

S = input()
print(('No', 'Yes')[S.count("a") * S.count("b") * S.count("c") == 1])

Solution (Python):
a = input()

ans = ["a","b","c"]
counter = 0
for i in range(len(a)):
 for j in range(i+1,len(a)):
  if a[i] == a[j]:
   counter = counter +1
   break

if counter ==0:
 print ("Yes")
else:
 print ("No")

Solution (Python):
a=input()
if a[0]==a[1]:
    print("No")
elif a[1]==a[2]:
    print("No")
elif a[2]==a[0]:
    print("No")
else:
    print("Yes")

Solution (Python):
T = input()

if T[0] != T[1] and T[0]!= T[2] and T[1]!= T[2]:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()

if s[0] != s[1]: 
    if s[0] != s[2]:
        if s[1] != s[2]:
            print("Yes")
        else:
            print("No")
    else:
        print("No")
else:
    print("No")

Solution (Python):
s = str(input())

if s[0] != s[1]: 
    if s[0] != s[2]:
        if s[1] != s[2]:
            print("Yes")
        else:
            print("No")
    else:
        print("No")
else:
    print("No")

Solution (Python):
string = list(input())
if ("a" in string) and ("b" in string) and ("c" in string):
  print("Yes")
else:
  print("No")

Solution (Python):
s=input()

a=('a' in s)
b=('b' in s)
c=('c' in s)

if a==True and b==True and c==True:
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    s = input()
    if s[0] != s[1] and s[0] != s[2] and s[1] != s[2]:
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Solution (Python):
S = input()
S = ''.join(sorted(list(S)))
if S == 'abc': print("Yes")
else: print("No")

Solution (Python):
a = input()
if a.count('a') == 1 and a.count('b') == 1 and a.count('c') ==1 :
    print ('Yes')
else:
    print('No')

Solution (Python):


N = input()
N_list= list(N)

a = N_list.count("a")
b = N_list.count("b")
c = N_list.count("c")


if a==1 and b==1 and c==1:
	print("Yes")
else:
	print("No")

Solution (Python):
abc = list(input())

if set(abc) == set(['a', 'b', 'c']):
    print('Yes')
else:
    print('No')

Solution (Python):
print("Yes"if set(input())==set("abc")else"No")

Solution (Python):
S = input()

if ("a" in S) and ("b" in S) and ("c" in S):
    print("Yes")
else:
    print("No")

Solution (Python):
l = input()

if l == "abc":
    print("Yes")
elif l == "acb":
    print("Yes")
elif l == "bac":
    print("Yes")
elif l == "bca":
    print("Yes")
elif l == "cab":
    print("Yes")
elif l == "cba":
    print("Yes")
else:
    print("No")

Solution (Python):
flag = 'Yes'
S = input()
for char in ['a', 'b', 'c']:
    if not char in S:
        flag = 'No'
print(flag)

Solution (Python):
s=input()
if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
S = sorted(input())
if S == ['a', 'b', 'c']:
    print('Yes')
else:
    print('No')

Solution (Python):
print 'Yes' if set(raw_input()) == set('abc') else 'No'

Solution (Python):
a,b,c = sorted(list(input()))
if a=="a" and b=="b" and c=="c":
    print("Yes")
else:
    print("No")

Solution (Python):
s = sorted(input())
if s == ["a", "b", "c"]:
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
s_list = list(s)
s_sort_list = sorted(s_list)
s_sort = ','.join(s_sort_list)
s_sort = s_sort.replace(',', '')
if s_sort == 'abc':
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
SS = set(S)
ES = set(list('abc'))

print('Yes' if SS & ES == ES else 'No')

Solution (Python):
S = input()
for c in ("abc"):
    if c in S:
        continue
    else:
        print("No")
        exit()
print("Yes")

Solution (Python):

if __name__ == "__main__":
    s = list(input())
    if len(list(set(s))) == 3:
        print("Yes")
    else:
        print("No")

Solution (Python):
print("Yes"*(sorted(input())==list("abc"))or"No")

Solution (Python):
s = input()

if s[0] != s[1] and s[1] != s[2] and s[0] != s[2]:
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
if len(s) == 3 and set(s) == {'a', 'b', 'c'}:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
if ''.join(sorted(s))=='abc':
  print('Yes')
else:
  print('No')

Solution (Python):
def judge(s):
	wordlist = ["abc", "acb", "bac", "bca", "cab", "cba"]
	for i in range(0, 6):
		if s == wordlist[i]: return "Yes"
	return "No"

s = raw_input()

print judge(s)

Solution (Python):
s=list(input())
s.sort()
ans = ''.join(s)  
if ans == "abc":
    print("Yes")
else:
    print("No")

Solution (Python):


s=raw_input()
if s.count('a')==1 and s.count('b')==1 and s.count('c')==1:
 print 'Yes'
else:
 print 'No'

Solution (Python):
s = list(input())
s.sort()
s = ''.join(s)

x = "Yes\n" if s == "abc" else "No\n"

print(x)

Solution (Python):
print('Yes' if ''.join(sorted(list(input()))) == 'abc' else 'No')

Solution (Python):
S = input()

def mySort(S):
    if 'a' not in S:
        return 'No'
    elif 'b' not in S:
        return 'No'
    elif 'c' not in S:
        return 'No'
    else:
        return 'Yes'
    
print(mySort(S))

Solution (Python):
S = input()
print('Yes' if all(list(map(lambda x : x in S, ['a', 'b', 'c']))) else 'No')

Solution (Python):
S = input()

if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Solution (Python):
S = list(input())
S.sort()
if S[0]+S[1]+S[2]=='abc':
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()

S1='abc'
S2='acb'
S3='bac'
S4='bca'
S5='cab'
S6='cba'
if S==S1:
    print ('Yes')
elif S==S2:
    print ('Yes')
elif S==S3:
    print ('Yes')
elif S==S4:
    print ('Yes')
elif S==S5:
    print ('Yes')
elif S==S6:
    print ('Yes')
else:
    print ('No')

Solution (Python):
s = input()

if ("a" in s) and ("b" in s) and ("c" in s):
    print("Yes")
else:
    print("No")

Solution (Python):
def solve():
    S = input()
    if S[0] != S[1] and S[1] != S[2] and S[2] != S[0]:
        print('Yes')
    else:
        print('No')
    
solve()