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



Sample input:
bac


Sample output:
Yes

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
abc = sorted(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a = list(input())

a.sort()

a = "".join(a)

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = input()
s = [S[0], S[1], S[2]]
if len(list(set(s))) == 3:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
alphabet = input()

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

Submission status: Accepted

Solution code:
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()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
#!usr/bin/env python3
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)

#A
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")
#B
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)

#C
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)
#D
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)

#E
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")
#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == "__main__":
    A()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if sorted(input()) == list('abc'): print('Yes')
else: print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = [i for i in input()]
if len(set(S))==3:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()
#N=int(input())
#a,b,x=map(int,input().split())
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")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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()

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc093/tasks/abc093_a


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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc093/tasks/abc093_a


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

Submission status: Accepted

Solution code:
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()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()
print('NYoe s'[all([s in S for s in 'abc'])::2])

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc093/tasks/abc093_a
s = input()
print("Yes") if sorted(s) == list("abc") else print("No")

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())

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

Submission status: Accepted

Solution code:
s = list(input())

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

Submission status: Accepted

Solution code:
from sys import stdin
s=set(list(stdin.readline().rstrip()))
s_set={'a','b','c'}
if s==s_set:
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
# A,B,C = [int(n) for n in input().split()]

# A = [0]*N
# for i in range(N):
#     A[i] = int(input())
S = str(input())
# T = str(input())
if "a" in S and "b" in S and "c" in S :
    print("Yes")
    sys.exit()
print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

Solution code:
a = 'abc'
s = input()
for i in range(3):
  if not a[i] in s:
    print('No')
    break
else:
  print('Yes')

Submission status: Accepted

Solution code:
# A
s = list(str(input()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
# ----------------------------------------------------------------
# Use Solve Function

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

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

#
# solve !!
#
solve(lines)

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

print(ret)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

s = input()



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



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

print( ans )

Submission status: Accepted

Solution code:

s = input()


#abc = 'abc'

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

print( ans )

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
hoge=input()
no=0
if(hoge.count("a")==1):
  if(hoge.count("b")==1):
    if(hoge.count("c")==1):
      print("Yes")
      no=1
if(no==0):
  print("No")

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""AtCoder"""

S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(input())
a.sort()
if a[0]=="a" and a[1] =="b" and a[2] == "c":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
S = input()
if all(S.count(i) == 1 for i in 'abc'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

def main():
    S = input()

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
print("Yes" if not str(input()).replace("a", "", 1).replace("b", "", 1).replace("c", "", 1) else "No")

Submission status: Accepted

Solution code:
S = input()
s = []
for i in range(3):
    s.append(str(S[i]))
s.sort()
input = str(s[0]) + str(s[1]) + str(s[2])
if input == "abc":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def abc(s:str)->str:
    for i in "abc":
        if i not in s:
            return "No"
    return "Yes"
print(abc(input()))

Submission status: Accepted

Solution code:
S = list(input())
if S.count('a')>0 and S.count('b')>0 and S.count('c')>0:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
def main():
  x = input()
  l = [x[0],x[1],x[2]]
  l.sort()
  if l == ['a', 'b', 'c']:
    print('Yes')
    return
  print('No')
  return

if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
print(["Yes","No"][S.count("a")>=2 or S.count("b")>=2 or S.count("c")>=2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
if s.find("a")<0 or s.find("b")<0 or s.find("c")<0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
x=input()
print('No' if len(set(x))!=3 else ['No','Yes'][(x[0]in'abc')*(x[1]in'abc')*(x[2]in'abc')])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
S = input().strip()

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

Submission status: Accepted

Solution code:
str = "abc"
stri = input()
stri = ''.join(sorted(stri))
if str==stri:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().rstrip()

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

Submission status: Accepted

Solution code:
S = str(input())
L = {"a","b","c"}
if {S[0],S[1],S[2]} == L:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(input());print("YNeos"[len(set(a))!=3::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(input())

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

Submission status: Accepted

Solution code:
can = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']

print('Yes' if input() in can else 'No')

Submission status: Accepted

Solution code:
p=input()
if "a" in p and "b" in p and "c" in p:
  print("Yes")
  exit()
print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
a = ["abc","acb","bac","bca","cab","cba"]
print(["No","Yes"][s in a])

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s=list(input())
print('No' if s[0]==s[1] or s[1]==s[2] or s[2]==s[0] else 'Yes')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
for i in "abc":
    if i not in s:
        print('No')
        break
else:print('Yes')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = str(input())
if S.count("a") == 0 or S.count("b") == 0 or S.count("c") == 0:
  print("No")
else:
  print("Yes")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    """Function."""
    s = str(input())
    if len(set([s[0], s[1], s[2]])) == 3:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()
l = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']

if(S in l): 
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

if (S.find("a") > -1 and S.find("b") > -1 and S.find("c") > -1) :
	print("Yes")
else :
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
if all(c in s for c in 'abc'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("Yes" if input() in ("abc","bca","cab","acb","bac","cba") else "No")

Submission status: Accepted

Solution code:
import itertools

s=input()

x=list(itertools.permutations(('a','b','c'),3))
flag=0
for i in range(len(x)):
  if x[i][0]+x[i][1]+x[i][2] == s:
    flag=1

print('Yes' if flag==1 else 'No')

Submission status: Accepted

Solution code:
# abc of ABC
print('Yes' if input() in ['abc', 'acb', 'bac', 'bca', 'cab', 'cba'] else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
S = sorted(S)
a = ""
for s in S:
    a += s
if a == "abc":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = input()
S = sorted(S)

ans = ""
for s in S:
	ans += s

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