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: Wrong Answer

Solution code:

S = str(input())

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

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

Solution code:
s = str(input())

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

Submission status: Wrong Answer

Solution code:
li = list(input())

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

Submission status: Wrong Answer

Solution code:
li = list(input())
sorted(li)
if li[0] == 'a' and li[1] == 'b' and li[2] == 'c':
    print('Yes')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
li = list(input())
li.sort

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

Submission status: Wrong Answer

Solution code:
li = list(input())
li.sort

if li[0] != 'a' or li[1] != 'b' or li[2] != 'c':
    print('Yes')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
li = list(input())
for i in li:
    if i != 'b' or i != 'a' or i != 'c':
        print('No')
        exit()

print('Yes')

Submission status: Wrong Answer

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

if s[0]=='a' and s[1]=='b' and s[2]=='c':
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=input()
s=set(s)

if len(s)==3:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=input()
s=sorted(s)
l=['a','b','c']
if s==l:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = str,input()

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

S=input()

s = [st for st in S]
if len(np.unique(s)) == 3:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
print('Yes' if 'abc' in input() else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = str(input())
if S[0] + S[1] + S[2]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = str(input())

if S[0] != S[1] and S[0] != S[2] and S[1] != S[2]:
    result = 'Yse'
else:
    result = 'No'

print(result)

Submission status: Wrong Answer

Solution code:
S = str(input())

if S[0] != S[1] and S[0] != S[2] and S[1] != S[2]:
    result = "Yse"
else:
    result = "No"

print(result)

Submission status: Wrong Answer

Solution code:
# a,b,cからなる三文字のsを入力
s = input()
# 並べ替えたらabcになるならYes 
if "a" in s and "b" in s and "c" in s:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
a_list = list(S)
a_ct = 0
b_ct = 0
c_ct = 0

for i in range(0,3):
    if a_list[i] == 'a':
        a_ct = a_ct + 1

for i in range(0,3):
    if a_list[i] == 'b':
        b_ct = b_ct + 1

for i in range(0,3):
    if a_list[i] == 'c':
        c_ct = c_ct + 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

if s == "abc" or s == "bac" or s == "cba" or s == "acb":
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
ans = True
if "a" not in s:
    ans = False
if "b" not in s:
    asn = False
if "c" not in s:
    ans = False
    
if ans:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
n = sorted(input())
print("Yes" if n == "abc" else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

S = input()
ans = 0
for s in ['a', 'b', 'c']:
    ans += S.count(s)

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

Submission status: Wrong Answer

Solution code:
from itertools import permutations
from sys import exit
S=input()
for s in permutations('abc'):
  if S == s:
    print('Yes')
    exit(0)
print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

if S[0] == 'a' or 'b' or 'c' and  S[1] == 'a' or 'b' or 'c' and S[2] == 'a' or 'b' or 'c':
  print ('YES')
else:
  print ('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
  s = input()
  if s == 'abc' or s == 'bca' or s == 'cab':
    print('Yes')
  else:
    print('No')

if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())
if list(set(S)) == ["A","B","C"]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
print('YNeos'[sorted(input())!='abc'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=sorted(input())
if a=="abc":
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()
ans = 'Yes'
if S[0] == S[1]:
    ans = 'No'
if S[0] == S[2]:
    ans = 'No'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
arr=str(input())
a = len([1 for x in arr if x=='a'])
b = len([1 for x in arr if x=='b'])
c = len([1 for x in arr if x=='c'])
if a+b+c == 3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
N=input()
A=len(set(N))
print("YES" if A ==3 else "NO")

Submission status: Wrong Answer

Solution code:
s = input()

s = sorted(s)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

a=input()
a=sorted(a)
print("Yes" if a=="abs" else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=input()
t=[a for a in S]
number=0
for a in range(2):
    if 'a' in t:
        number+=1
    elif 'b' in t:
        number+=1
    elif 'c' in t:
        number+=1
if number==3:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = raw_input()
if 'a' and 'b' and 'c' in s:
    print 'Yes'
elif 'a' or 'b' or 'c' not in s:
    print 'No'

Submission status: Wrong Answer

Solution code:
s = raw_input()
if 'a' or 'b' or 'c' in s:
    print 'Yes'
elif 'a' or 'b' or 'c' not in s:
    print 'No'

Submission status: Wrong Answer

Solution code:
s = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def readints():
    return list(map(int, input().split()))


s = str(input())
t = ['a', 'b', 'c']
print(sorted(s))
# print(t)
sum = 0
for i in range(3):
    if s[i] == t[i]:
        sum += 1
if sum == 3:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

S = list(input())
print(S)

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

Submission status: Wrong Answer

Solution code:
S_list = [ 'Yes' if i == 'a' or i == 'b' or i == 'c' else  'No'  for i in list(input()) ]



if S_list.count('Yes') == 3:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
"""
author : halo2halo
date : 24, Jan, 2020
"""

import sys

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S = readline().decode('utf8')
print('Yes' if set('abc') == set(S) else 'No')

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(input())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(input())
a.sort()
print(a)
b = "".join(a)
if b == "abc":
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
sSorted = sorted(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

s = sys.stdin.readline().rstrip()

def main():
    return 'Yes' if ''.join(list(reversed(s))) == 'abc' else 'No'

if __name__ == '__main__':
    ans = main()
    print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("Yes" if len(set(input().split())) else "No")

Submission status: Wrong Answer

Solution code:
s = set(input())
if len(s) == 3:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = set(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

Solution code:
s = input()
ss= sorted(s)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = sorted(input(),reverse=True)
print("Yes" if a=='abc' else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=str(input()) 
a = n.count("a")
b = n.count("b")
c = n.count("c")
if a==b==c==1:
    print("Yes")
else:
    print("Not")

Submission status: Wrong Answer

Solution code:
A = list(input())

l = [0, 0, 0]

for i in range(len(A)):
  if A[i] == 'A':
    l[0] = 1
  elif A[i] == 'B':
    l[1] = 1
  else:
    l[2] = 1
    
if l[0] == 1 and l[1] == 1 and l[2] == 1:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()
cnt = 0

for i in S:
  if i == 'a' or i == 'b' or i == 'c':
    cnt += 1
  
if cnt == 3:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
S = list(input())

import collections
count = collections.Counter(S)

if count["a"]==1 and count["b"]==1 and count["c"]==1:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

s = set(s)

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

Submission status: Wrong Answer

Solution code:
if "".join(sorted(list(input()))) == "abc":
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
if sorted(input()) == "abc":
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
import sys

input = sys.stdin.readline


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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
for i in s:
  if i == "a":
    if i == "b":
      if j == "c":
        print("Yes")
print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if "abc" in a:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')


S=input()

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

Submission status: Wrong Answer

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

print("yes" if "".join(sorted([i for i in input().rstrip()])) == "abc" else "no")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())

new_S = sorted(S)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(input())

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

Submission status: Wrong Answer

Solution code:
s  = input()
for i in range(len(s)):
    if s[i] == 'a' or s[i] == 'b' or s[i] == 'c':
        continue
    else:
        print('No')
        exit()
print('Yes')

Submission status: Wrong Answer

Solution code:


def main():

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

if __name__== "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def resolve():
    s = input()
    ans = "Yes" if all([True for c in ["a", "b", "c"] if c in s]) else "No"
    print(ans)


if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main(s):
    for x in 'abc':
        if not x.__contains__(x):
            return 'No'

        return 'Yes'


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

Submission status: Wrong Answer

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


if __name__ == "__main__":
    test()

Submission status: Wrong Answer

Solution code:
def test():
    s = input()
    if "a" in s and "b" in s and "c" in s:
        print("YES")
    else:
        print("NO")


if __name__ == "__main__":
    test()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print ("YES" if len(set(input())) == 3 else "NO")

Submission status: Wrong Answer

Solution code:
print('YNeos'[sorted(input())=='abc'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = str(input())
print(('a' in N) and ('b' in N) and ('c' in N))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
s=input()

l=[0,0,0]

for i in s:
  l[ord(i)-97]+=1
for i in l:
  if(i!=0):
    print("No")
    sys.exit()
print("Yes")

Submission status: Wrong Answer

Solution code:
S = sorted(input())

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

Submission status: Wrong Answer

Solution code:
import sys

#+++++


def main():
	s = input()
	a = ''.join(sorted(s)) == 'abc'
	if a:
		print('Yes')
	else:
		print('No')
	
#+++++

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
	else:
		input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Wrong Answer

Solution code:
import sys

#+++++


def main():
	s = input()
	a = ''.join(sorted(s)) == 'abc'
	if a:
		print('Yes')
	else:
		print('No')
	#print(' '.join([str(v) for v in l]))
	
	
#+++++

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
	else:
		input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Wrong Answer

Solution code:
li = sorted(list(input()))
if li[0]+li[1]+li[2] == "abc":
    print("Yes")
else:
    "No"

Submission status: Wrong Answer

Solution code:
a = input()
b = sorted(a)
if b == "abc":
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = input()
a = s.count("a")
b = s.count("b")

print("Yes") if (a and b) else print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input().split()
s.sort()
if s == ["a","b","c"]:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(input())

print(sorted(s) == ['a', 'b', 'c'])

Submission status: Wrong Answer

Solution code:
s = list(input())

print(s == ['a', 'b', 'c'])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
abc=sorted(input())
print(["NO","YES"][abc==["a","b","c"]])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=input()
s = s.replace("a","").replace("b","").replace("c","")
print("Yes" if s == 0 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input("S=")

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: Wrong Answer

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

s = input()

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

Submission status: Wrong Answer

Solution code:
S = input()
if len(list(set(S))) == 3:
  res = " YES"
else:
  res = "NO"
print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = sorted(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())

A = ["a","b","c"]

if set(S) == A:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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()))
print(s)
if s == 'abc':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
alphabet = input()

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

Submission status: Wrong Answer

Solution code:
alphabet = str(input())

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