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):
s = input()
list = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
for i in range(6):
    if s == list[i]:
        print('Yes')
        exit()
print('No')

Solution (Python):
S = input()

checker = ["abc", "acb", "bac", "bca", "cab", "cba"]
if S in checker:
    print("Yes")
else:
    print("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):
A = input()
t = 0
if 'a' in A:
    if 'b' in A:
        if 'c' in A:
            print("Yes")
            t = 1
if t == 0:
    print("No")

Solution (Python):
S = raw_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]) & (s[1] != s[2]) & (s[2] != s[0]) :
    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):
abc = input()
if 'a' in abc and 'b' in abc and 'c' in abc:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()

a = set()
for i in s:
    a.add(i)

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

Solution (Python):
l = 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()
s = s.replace("a","",1)
s = s.replace("b","",1)
s = s.replace("c","",1)

if bool(s) is not True:
    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()
print('Yes' if S.count('a') and S.count('b') and S.count('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.find("a") >= 0 and s.find("b") >= 0 and s.find("c") >= 0:
    print("Yes")
else:
    print("No")

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

Solution (Python):

def main():
    temp=input()
    
    if "a" in temp and "b" in temp and "c" in temp:
        print("Yes")
    else:
        print("No")


    

if __name__ == '__main__':
    main()

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

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

Solution (Python):
def main():
    S = input()

    if sorted(S) == list("abc"):
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):
S = input()

count = 0
for c in S:
    if c == 'a':
        count += 1
    elif c == 'b':
        count += 2
    elif c == 'c':
        count += 4
if count == 7:
    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):
n = input()
if 'a' in n and 'b' in n and 'c' in n:
  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 = input()
if "a" in s and "b" in s and "c" in s:
    print("Yes")
else:
    print("No")

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

Solution (Python):
s = raw_input()

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

Solution (Python):





if __name__ == '__main__':
    s = input()

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

Solution (Python):

"""
A - abc of ABC
https://beta.atcoder.jp/contests/abc093/tasks/abc093_a

"""
import sys
from sys import stdin
input = stdin.readline


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


if __name__ == '__main__':
    main(sys.argv[1:])

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

Solution (Python):
s=input()

list=["abc","acb","bac","bca","cab","cba"]

if s in list: 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())

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

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

Solution (Python):


S = raw_input()

print "Yes" if S.count('a') == 1 and S.count('b') == 1 and S.count('c') == 1 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' 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):
S = input()

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

Solution (Python):
s=list(input())
s=list(set(s))
if len(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):
s = str(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):
s = ''.join(sorted(list(input())))
print('Yes' if 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):
import re
import sys

if __name__ == '__main__':
    s = raw_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 = list(input())

if set(s) == {'a', 'b', 'c'}:
    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()
if 'a' in s and 'b' in s and 'c' in s:
  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")