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):
l=list(input())
if len(set(l))==3:
  print("Yes")
else:
  print("No")

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

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

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

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

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

Solution (Python):
s=list(input())
print("Yes") if ("a" in s) and ("b" in s) and ("c" in s) 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 = input()
if S.count("a") == 1 and S.count("b") == 1 and S.count("c") == 1:
    print('Yes')
else:
    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):
def main():
	S = input()
	m = set()
	for c in S:
		m.add(c)
	if len(m) == 3:
		print("Yes")
	else:
		print("No")

if __name__ == '__main__':
    main()

Solution (Python):
s=input()
xyz=[s[0],s[1],s[2]]
xyz.sort()
if xyz[0]=="a" and xyz[1]=="b" and xyz[2]=="c":
    print("Yes")
else:
    print("No")

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

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

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

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

Solution (Python):
a=input()
print(["Yes","No"][len(set(a)) < 3])

Solution (Python):
import sys
input = sys.stdin.readline

s = list(input())

if len(set(s))==4:
    print('Yes')
else:
    print('No')

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

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

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

Solution (Python):
S=input()
list=[S[0],S[1],S[2]]
if list[0]!=list[1]:
    if list[1]!=list[2]:
        if list[2]!=list[0]:
            if S=="abc" or S=="acb":
                print("Yes")
            elif S=="bac" or S=="bca":
                print("Yes")
            elif S=="cab" or S=="cba":
                print("Yes")
            else:
                print("No")
            exit()
print("No")

Solution (Python):
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Solution (Python):
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Solution (Python):
S = input()
if S.count("a")==1 and S.count("b")==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()

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

Solution (Python):
S = input()
flag = True

for i in 'abc':
    if i not in S:
        flag = False

if flag:
    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 = raw_input()
if s[0] == s[1]:
    print"No"
elif s[0] == s[2]:
    print"No"
elif s[2] == s[1]:
    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 s.count('a') and s.count('b') and s.count('c'):
    print('Yes')
else:
    print('No')

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

Solution (Python):
if len(set(input())) == 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 = list(input().strip())

b = all(i in S for i in 'abc')
print(b and 'Yes' or 'No')

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
S = input()

sub = 'abc'
for  c in sub:
    if not c in S:
        print('No')
        quit()
print('Yes')

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

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

Solution (Python):
s = input()
if set(s) == {"a","b","c"}:
    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()
a = S.count('a')
b = S.count('b')
if a == 1 and b == 1:
    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:
    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 = list(input())
print('Yes') if S.count('a') == 1 and S.count('b') == 1 and S.count('c') == 1 else print('No')

Solution (Python):
print("YNeos"[len(set(input()))!=3::2])

Solution (Python):
S = input()
li = list(S)
if 3 == len(set(li)):
    print('Yes')
else:
    print('No')

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

Solution (Python):
s = input()
if s[0]==s[1]:
  print('No')
elif s[0]==s[2]:
  print('No')
elif s[1]==s[2]:
  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[0]==a[1] or a[1]==a[2] or a[2]==a[0]:
  print("No")
else:
  print("Yes")

Solution (Python):
s = ''.join(sorted(input()))

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

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

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

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

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()
S_ans = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
if S in S_ans:
    print('Yes')
else:
    print('No')

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

Solution (Python):
input_text = input()
count_a = 0
count_b = 0
count_c = 0
for i in range(3):
    if input_text[i] == "a":
        count_a += 1
    elif input_text[i] == "b":
        count_b += 1
    else:
        count_c += 1

if count_a == 1 and count_b == 1:
    print("Yes")
else:
    print("No")

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

Solution (Python):
def MI(): return map(int, input().split())
def II(): return int(input())
def IS(): return input()
def LI(): return list(map(int, input().split()))

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

Solution (Python):
S = input()
if all(S.count(chr) for chr in 'abc'):
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
import sys
input = sys.stdin.readline
s = input()

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

Solution (Python):



import math


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

Solution (Python):
s = input()
c = 0
for i in 'abc':
  if s.count(i) == 1:
    c += 1
print('Yes' if c == 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):
s = ''.join(sorted(input()))
if (s == 'abc'):
  print('Yes')
else:
  print('No')

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

Solution (Python):
print(["Yes", "No"][not(3 == len(set(input())))])

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

Solution (Python):
l=list(input())
if l.count("a")==1 and l.count("b")==1 and l.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):
S =input()
if S.count('a')== S.count('b')== S.count('c'):
    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()
print("Yes" if len(set(s))==3 else "No")

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

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

Solution (Python):
s = list(input())
s.sort()
print('Yes' if ''.join(s)=='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 "a" not in S:
  print("No")
  exit()

if "b" not in S:
  print("No")
  exit()

if "c" not in S:
  print("No")
  exit()

print("Yes")

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

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

Solution (Python):
s, = map(str, input().split())
t = ''.join(sorted(s))
if t == "abc":
    print("Yes")
else:
    print("No")

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

Solution (Python):
import sys
input = sys.stdin.readline
s = input()

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

Solution (Python):
import sys
input = sys.stdin.readline
s = input()

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

Solution (Python):
s = input()

print("Yes" if len(set(s)) == 3 else "No")

Solution (Python):
print('Yes' if sorted(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):
s=input()
if s[0]!=s[1] and s[1]!=s[2] and s[0]!=s[2]:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
S = str(input())
S_sort = sorted(list(S))
if "".join(S_sort) == "abc":
    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()
print('Yes' if len(set(S))==len(S) else 'No')

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

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

Solution (Python):
import sys
input = sys.stdin.readline
s = input()

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

Solution (Python):
s = input()
s = "".join(sorted(s))

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

Solution (Python):
s=set(input())
a=set(["a","b","c"])
print("Yes"if s==a 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):
print(["No","Yes"][len(set(input()))==3])

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

Solution (Python):
s=list(str(input()))
s.sort()
ans="".join(s)
if ans=="abc":
    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_set = set(input())
print('Yes' if len(s_set)==3 else 'No')

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

Solution (Python):
s = input()
if all(s.count(i) for i in "abc"):
    print("Yes")
else:
    print("No")

Solution (Python):


a = list(input())

a.sort()

a = "".join(a)

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

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

Solution (Python):
s = input()

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

Solution (Python):



import array
from bisect import *
from collections import *
import fractions
import heapq
from itertools import *
import math
import random
import re
import string
import sys

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

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

Solution (Python):

S = input()
s = [S[0], S[1], S[2]]
if len(list(set(s))) == 3:
    print('Yes')
else:
    print('No')

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()
li = [0]*3
for i in S:
  if(i=='a'):
    li[0]+=1
  elif(i=='b'):
    li[1]+=1
  else:
    li[2]+=1
mul = 1
for i in li:
  mul *= i
if(mul == 0):
  print('No')
else:
  print('Yes')

Solution (Python):
alphabet = input()

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

Solution (Python):
def solve(string):
    return "Yes" if string.find("a") >= 0 and string.find("b") >= 0 and string.find(
        "c") >= 0 else "No"


if __name__ == '__main__':
    print(solve(input()))

Solution (Python):
s=list(str(input()))
print("YNeos"["a" not in s or "b" not in s or "c" not in s::2])

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())
ls = ['a', 'b', 'c']
for x in S:
    if x in ls:
        ls.remove(x)
if len(ls) == 0:
    print('Yes')
else:
    print('No')

Solution (Python):
print("YNeos"[len(set(input()))<3::2])

Solution (Python):

from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007
sys.setrecursionlimit(1000000)


def A():
    s = S()
    a = s.count("a")
    b = s.count("b")
    c = 3-a-b
    if a&b&c:
        print("Yes")
    else:
        print("No")

def B():
    a,b,k = LI()
    ans = []
    for i in range(a,min(a+k,b+1)):
        ans.append(i)
    for i in range(max(a,b-k+1),b+1):
        ans.append(i)
    ans = list(set(ans))
    ans.sort()
    for i in ans:
        print(i)


def C():
    a,b,c = LI()
    ans = 0
    if a%2:
        if b%2:
            if not c%2:
                ans += 1
                a += 1
                b += 1
        else:
            ans += 1
            if not c%2:
                b += 1
                c += 1
            else:
                a += 1
                c += 1
    else:
        if b%2:
            ans += 1
            if not c%2:
                a += 1
                c += 1
            else:
                b += 1
                c += 1
        else:
            if c%2:
                ans += 1
                a += 1
                b += 1
    ans += (3*max(a,b,c)-a-b-c)//2
    print(ans)

def D():
    q = I()
    for i in range(q):
        a,b = LI()
        x = int((a*b)**0.5)
        y = math.ceil((a*b)/x)-1
        ans = x+y-2
        if a==b:
            ans += 1
        print(ans)


def E():
    s = S()
    f = {"N":0,"W":0,"S":0,"E":0}
    for i in s:
        f[i] = 1
    if f["N"]^f["S"]:
        print("No")
    elif f["W"]^f["E"]:
        print("No")
    else:
        print("Yes")

def F():
    return


def G():
    return


def H():
    return


if __name__ == "__main__":
    A()

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 len(list(set(s)))==3:
    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=["abc","acb","bac","bca","cab","cba"]
if input() in a:print("Yes")
else:print("No")

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

Solution (Python):
moji = list(input())
if("a" in moji and "b" in moji and "c" in moji):
    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('Yes') if ''.join(sorted(list(input())))=='abc' else print('No')

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

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

Solution (Python):
if sorted(input()) == list('abc'): 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.count('a') == s.count('b')==s.count('c')==1:
  print("Yes")
else:
  print("No")

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

Solution (Python):
print('Yes'if len(set(input()))==3else'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):
x = input()
if x.count("a")==1 and x.count("b")==1 and x.count("c")==1:
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()

if s.count("a")>0 and s.count("b")>0 and s.count("c")>0:
    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):
def abc_of_abc(S: str) -> bool:
    return 'a' in S and 'b' in S and 'c' in S


if __name__ == "__main__":
    S = input()
    yes = abc_of_abc(S)
    print('Yes' if yes else 'No')

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

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

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

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

Solution (Python):
S = [i for i in input()]
if len(set(S))==3:
    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 = list(input())
s.sort()
if((s[0]=='a')and(s[1]=='b')and(s[2]=='c')):
  print('Yes')
else:
  print('No')

Solution (Python):
print(['No','Yes'][len(set(list(input())))==3])

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()


s=1
for i in S:
    if i=="a":
        s*=2
    if i=="b":
        s*=3
    if i=="c":
        s*=5
if s==30:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
S=str(input())
a=0
b=0
c=0
for i in range(3):
  if(S[i]=='a'):
    a+=1
  elif(S[i]=='b'):
    b+=1
  else:
    c+=1

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

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

Solution (Python):
print("Yes" if len(set(input()))==3 else "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 len(set(S))==3:
  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):



import itertools
import collections
import bisect

def main():
    S = input()
    if all(c in S for c in ['a', 'b', 'c']):
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Solution (Python):



import itertools
import collections
import bisect

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):
import sys

def main():
  input = sys.stdin.readline
  S = str(input().strip())
  if 'a' in S and 'b' in S and 'c' in S:
    print('Yes')
  else:
    print('No')


if __name__ == '__main__':
  main()

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()
print('NYoe s'[all([s in S for s in 'abc'])::2])

Solution (Python):
S = input()

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

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

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

Solution (Python):

s = input()
print("Yes") if sorted(s) == list("abc") else print("No")

Solution (Python):
S = input()

ans = "a" in S and "b" in S and "c" in S

print("Yes" if ans else "No")
print()

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

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

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

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

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

if (("a" in s) & ("b" in s) & ("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):
from sys import stdin
s=set(list(stdin.readline().rstrip()))
s_set={'a','b','c'}
if s==s_set:
  print('Yes')
else:
  print('No')

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

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

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


if __name__ == "__main__":
    main()

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

Solution (Python):
import sys





S = str(input())

if "a" in S and "b" in S and "c" in S :
    print("Yes")
    sys.exit()
print("No")

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

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

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

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

Solution (Python):
print("YNeos"[set(input())!=set("abc")::2])

Solution (Python):
s=list(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):
s = input()
if "".join(sorted(s)) == "abc":
  print("Yes")
else:
  print("No")

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

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 = 'abc'
s = input()
for i in range(3):
  if not a[i] in s:
    print('No')
    break
else:
  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 = list(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 = sorted(input())
if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
s = sorted(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') == 1 and s.count('b') == 1 and s.count('c') == 1:
    print('Yes')
else:
    print('No')

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

Solution (Python):
print "Yes" if sorted(raw_input())==list("abc") 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()
if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')

Solution (Python):

import sys



def solve(lines):
    S = list(lines.pop(0))
    S.sort()
    S = ''.join(S)
    if S == 'abc':
        print('Yes')
    else:
        print('No')




lines = [x.strip() for x in sys.stdin.readlines()]




solve(lines)

Solution (Python):
str_i = input()

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

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

Solution (Python):
S = input()

ret = "Yes" if all(S.count(c) > 0 for c in 'abc') else "No"

print(ret)

Solution (Python):
s = sorted(input())
print('Yes' if s == ['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()
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.count("a") == 1 and s.count("b") == 1:
  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 = set(str(input()))
if len(s) == 3:
    print("Yes")
else:
    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 = input()
str_list = ['abc','acb','bac','bca','cab','cba']
ans = 'No'
for l in str_list:
  if s == l:
    ans = 'Yes'
    break
print(ans)

Solution (Python):
def main():
    if len(set(input())) == 3:
        print('Yes')
    else:
        print('No')


main()

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

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

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

Solution (Python):
import sys
S = input()
abc = list("abc")

for i in range(len(abc)):
    if abc[i] in S:
        continue
    else :
        print("No")
        sys.exit(0)

print("Yes")

Solution (Python):
s=input()
if len(set(s))==3:
    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):

s = input()










abc = 'abc'
ans = 'Yes' if 3 == sum(1 if s.count(c)==1 else 0 for c in abc ) else 'No'

print( ans )

Solution (Python):

s = input()




ans = 'Yes' if\
    s.count('a') == 1 and \
    s.count('b') == 1 and \
    s.count('c') == 1 else 'No'

print( ans )