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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import java.util.Scanner;
class Rp1ABC093{
  static public void main(String args[]){
    String S;
    Scanner sc = new Scanner(System.in);
    
  if (S=="abc") or (S=="bca") or (S=="cba") or (S=="acb") or (S=="bac") or (S=="cab")
    System.out.println("Yes");
  else
    System.out.println("No");
  }
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()

s = set(s)

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

Submission status: Runtime Error

Solution code:
s = input()

s = s.sort()

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

Submission status: Runtime Error

Solution code:
t= int(input())
for i in range(t):
    k=input().split()
    a=int(k[0])
    b=int(k[1])
    c=a*b
    d=int(c**.5)
    print(2*d-1-((d*(d+1))>=c)-(c==d*d and a!=b))

Submission status: Runtime Error

Solution code:
t= int(input())
for i in range(t):
    k=input().split()
    a=int(k[0])
    b=int(k[1])
    c=a*b
    d=int(c**.5)
    print(2*d-1-((d*d)==c)-(c==d*d and a!=b))

Submission status: Runtime Error

Solution code:
t= int(input())
for i in range(t):
    k=input().split()
    a=int(k[0])
    b=int(k[1])

	c=a*b
    d=int(c**.5)
    print(2*d-1-((d*d)==c)-(c==d*d and a!=b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, K = map(int, input().split())
s = set()
for i, n in enumerate(range(A, B+1)):
    if i+1 <= K:
        s.add(n)
for i, n in enumerate(reversed(range(A, B+1))):
    if i+1 <= K:
        s.add(n)
for i in sorted(s):
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = list(input())

new_S = sorted(s)

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
S = input()
if S.len('a') == 1 and S.len('b') == 1:
  print('Yes')
  exit()
print('No')

Submission status: Runtime Error

Solution code:
n = int(input())
s = input().replace(".","")
lists = s.split()
print(lists.count("TAKAHASHIKUN")+lists.count("takahashikun")+lists.count("Takahashikun")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
nums = sorted(list(map(int, input().split())))
ans = 0
while nums[0] != nums[-1]:
  if nums[-1] - nums[0] >= 2:
    nums[0] += 2
  else:
    nums[0] += 1
    nums[1] += 1
  nums = sorted(nums)
  ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
s=max(a,b,c)*3-(a+b+c)
print(s//2 if s%2==0 else (s+3)//2)

Submission status: Runtime Error

Solution code:
S=list(input())
print("YES" if a in S and b in S and c in S else "NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

# 93
a, b, k = map(int, input().split())
l = list(range(a, b+1))
for i in l[:]:
    if a+k-1 < i < b-k+1:
        l.remove(i)

for i in l:
    print(i)

Submission status: Runtime Error

Solution code:
print('YNeos'[''.join(input().sort())!='abc'::2])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B,K=map(int,input().split())
result = list(range(A,B+1)[:K]) + list(range(A,B+1)[-K:])
print(list(set(result)))

Submission status: Runtime Error

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: Runtime Error

Solution code:
s = input()
cnt = []
for i in range(3):
  cnt.append(s[i])
cnt.sort()
if cnt = ['a','b','c']:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
a,b,k = map(int,input().split())
num = []
if k >= b:
    for i in range(a,b+1):
        print(i)
else:
    for i in range(k):
        num.append(a+i)
    for i in range(k-1,-1,-1):
        if (b - i) in num:
            pass
        else:
            num.append(b - i)
    for i in num:
        print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = sorted(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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
        pass
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Runtime Error

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: Runtime Error

Solution code:
a,b,k=map(int,input().split())
li =list(range(a,b+1))
li2=[]
for l in li[:k]:
  li2.append(l)
for l in li[-k:]:
  li2.append(l)
set(li2)
for ll in li2:
  print(ll)

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split())

if b-a+1<=2*k:
    for i in range(a,b+1):
        print(i)

else:
    aa=[a+i for i in range(k)]
    bb=[b-j for j in range(k)]
    cc=sorted(aa+bb)
    for s in cc:
        print(s)

Submission status: Runtime Error

Solution code:
s=input()
flag=0
if s = "abc":
  flag=1
elif s = "acb":
  flag=1
elif s = "bac":
  flag=1
elif s = "bca":
  flag=1
elif s = "cab":
  flag=1
elif s = "cba":
  flag=1
  
if flag:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
print('Yes' if all(input().count(t)>0 for t in 'abc') else 'No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
list1=[map(str,input().split())]
if set(list1)==[a,b,c]:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

Solution code:
s = list(input())

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

Submission status: Runtime Error

Solution code:
S = str(input())
ans = {}
ans.add(S[0])
ans.add(S[1])
ans.add(S[2])
if len(ans) == 3:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
# a以上b以下の整数で小さい方からk番目以内であるか、大きい方からk番目以内である
a,b,k = map(int, input().split())
for i in range(a, min(a+k,b+1)):
    print(i)
for i in range(max(a+k,b-k+1), b+1):
    print(i)

Submission status: Runtime Error

Solution code:
//93a.cpp
#include<iostream>
using namespace std;

int main(){
    char s[3];
    cin >> s;
    if(s[0]==s[1] || s[1] == s[2] || s[2] == s[0]){
        cout << "No" << endl;
    }else{
        cout << "Yes" << endl;
    }
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if sort.(input()) =="abc":
  print("yes")

Submission status: Runtime Error

Solution code:
S = sort(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s=input()

m=sort(s)
k=''.join(m)

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

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())

if a >= x and a+b <=x:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
str=input()
list=["a","b","c"]
if str[1] in list:
  list.remove(str[1])
  if str[2] in list:
    list.remove(str[2])
    if str[3] i list:
      print("Yes")
    else:
      print("No")
  else:
    print("No")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input("A:"))
B = int(input("B:"))
C = int(input("C:"))
D = int(input("D:"))

print(A,B,C,D)

if A <= B:
    train = A
else:
    train = B

if C <= D:
    bus = C
else:
    bus = D

total = train + bus
print(total)

Submission status: Runtime Error

Solution code:
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())
if list(s.sort()) == ['a','b','c']:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
s = raw_input()
if s[1] == s[2]:
    print"No"
elif s[1] == s[3]:
    print"No"
elif s[3] == s[2]:
    print"No" 
else:
    print"Yes"

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, K = map(int, input().split())

L = list(range(A,B+1))
L = sorted(list(set(L[:K])|set(L[-K:])))
print(*L, sep='\n')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = list(input())

for i in a:
    if i == "a":
        c1 = 1
    elif i == "b":
        c2 = 1
    elif i == "c":
        c3 = 1
if c1 == 1 and c2 == 1 and c3 == 1:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a = list(input())

for i in a:
    if i == "a":
        c1 = 1
    elif i == "b":
        c2 = 1
    elif i == "c":
        c3 = 1

if c1 == 1 and c2 == 1 and c3 == 1:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a = list(input().split(''))

for i in a:
    if i == "a":
        c1 = 1
    elif i == "b":
        c2 = 1
    elif i == "c":
        c3 = 1

if c1 == 1 and c2 == 1 and c3 == 1:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
s = input()
c = 0
for i in 'abc': if s.count(i) == 1: c += 1
print('Yes' if c == 3 else 'No')

Submission status: Runtime Error

Solution code:
S = intput()

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

Submission status: Runtime Error

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: Runtime Error

Solution code:

S = input()

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

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

Submission status: Runtime Error

Solution code:
S = list(input())

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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


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

Submission status: Runtime Error

Solution code:
S=input()
#N=int(input())
#a,b,x=map(int,input().split())
s=1
for i in range(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: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
S = list(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: Runtime Error

Solution code:
s = list(input())

print((s in "a") & (s in "b") & (s in "c"))

Submission status: Runtime Error

Solution code:
s = list(input())

return (s in "a") & (s in "b") & (s in "c")

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split())
for i in range(a,b+1):
  print(i)

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split());r=range(a,b+1)
for i in r:
  if i not in set(r[k:-k]):
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()

if s.count("a"), s.count("b"), s.count("c") == 1,1,1:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
s = input()

if not s.count("a") == 1:
  print("NO")
  break
elif not s.count("b") == 1:
  print("NO")
  break
elif not s.count("c") == 1:
  print("NO")
  break
else:
  print("YES")

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split())
s=range(a,b+1)
for i in sorted(set(s[:k]) | set(s[-k:])):
    print(i)

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split())
l=list(range(a,b+1))
la= set(l[:k]+l[-k:])
for i in (sorted(la)):
  print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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 = contents.split('\n')

# 2. use stdin

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

#
# solve !!
#
solve(lines)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
A,B,K = map(int,input().split())

if B-A+1 <= K * 2:
    for i in range(A,B+1):
            print(i)
    else:
        sys.exit(0)


for i in range(A,A+K): #AからB
    print(i)

for i in range(B-K+1,B+1):
    print(i)

Submission status: Runtime Error

Solution code:
import sys
A,B,K = map(int,input().split())
sum = []
if B-A +1 <= K * 2
    for i in range(A,B+1):
        if i > A+K or B-K < i:
            print(i)
    else:
        sys.exit(0)


for i in range(A,A+K): #AからB
    sum.append(i)

for i in range(B-K-1,B+1):
    sum.append(i)

sum = list(set(sum))
sum.sort()
[print(i) for i in sum]

Submission status: Runtime Error

Solution code:
a,b,k=map(int,input().split())
r=range(a,b+1)
for i in sorted(set(r[:k])|set(r[-k:])):print(i)#setで重複を避ける、リストの[:k]と[-k:]の範囲を得る

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
a,b,c = map(int,input().split())
ar = []
if a + c > b:
    d = b+1
else:
    d = a+c
for i in range(a,d):
    ar.append(i)
if b - c < a:
    e = a
else:
    e = b-c+1
for i in range(e,b+1):
    ar.append(i)
br = set(ar)
cr = sorted(br)
for i in cr:
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()
a = false
b = false
c = false
for i in s:
	if i == "a":
    	a = true
    if i == "b":
    	b = true
    if i == "c":
    	c = true
if a == true and b == true and c == true:
  ans("Yes")
else:
  ans("No")

Submission status: Runtime Error

Solution code:
s = input()
a = false
b = false
c = false
for i in s:
	if s[i] == "a":
    	a = true
    if s[i] == "b":
    	b = true
    if s[i] == "c":
    	c = true
if a == true and b == true and c == true:
  ans("Yes")
else:
  ans("No")

Submission status: Runtime Error

Solution code:
s = input()
a = false
b = false
c = false
for i in s:
	if s[i] == "a"
    a = true
    if s[i] == "b"
    b = true
    if s[i] == "c"
    c = true
if a == true and b == true and c == true:
  ans("Yes")
else:
  ans("No")

Submission status: Runtime Error

Solution code:
import math

def main():
    a, b, c = map(int, input().split())
    
    top = max([a, b, c])
    bot = min([a, b, c])
    mid = 0
    for x in [a, b, c]:
        if top != x and bot != x:
            mid = x
    count = 0
    
    count = top - mid
    bot += count
    mid += count
    
    if (top - bot) % 2 == 0:
        count += (top - bot) / 2 
    else:
        count += math.ceil((top - bot) / 2)+1
        
    print(int(count), end="")
    print()

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, K = [int(i) for i in input().split()]

S = set()
for i in range(A, A+K):
    if i > B:
        break
    S.add(i)
for i in range(B-K+1, B+1):
    if i < A:
        break
    S.add(i)
for i in sorted(S):
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,k = map(int,input().split())
inte = []
if k >= (b-a+1) // 2:
  k = (b-a+1) // 2
for i in range(a,a+k):
  inte.append(i)
for i in range(b-k+1,b+1):
  inte.append(i)
for i in range(len(set(inte))):
  print(list(set(inte))[i])

Submission status: Runtime Error

Solution code:
S = input()

A = S.count('a')
B = S.count('b')
C = S.count('c')

if (A == 1) and (B == 1) and (c == 1):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()

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

Submission status: Runtime Error

Solution code:
a=list(ord(input()));print('YNeos'[a[0]^a[1]^a[2]==96::2])

Submission status: Runtime Error

Solution code:
a=ord(list(input()));print('YNeos'[a[0]^a[1]^a[2]==96::2])

Submission status: Runtime Error

Solution code:
a=ord(input());print('YNeos'[a[0]^a[1]^a[2]==96::2])

Submission status: Runtime Error

Solution code:
a=ord(input());print('YNeos'[a[0]^a[1]^a[2]==96])

Submission status: Runtime Error

Solution code:
a=ord(input());print('YNeos'[a[0]^a[1]^a[2]=='`'])

Submission status: Runtime Error

Solution code:
a, b, k = map(int, input().split())

a_upper = min(b, a+k-1)
b_lower = max(a, b-k+1)

u = set(range(a, a_upper+1))
v = set(range(b_lower, b+1))

for i in sorted(list(u | v)):
    print(i)

Submission status: Runtime Error

Solution code:
a, b, k = list(map(int, input().split()))

l = list(range(a, b + 1))
l_low = l[:k]
l_up = l[-k:]

ll = sorted(list(set(l_low + l_up)))
for i in ll:
    print(i)

Submission status: Runtime Error

Solution code:
#93b
a,b,k=map(int,input().split())
ans=range(a,b+1)
for i in sorted(set(ans[:k])):# set(ans[-k:])):
    print(i)
for i in sorted(set(ans[-k:])):
    print(i)
#print(sorted(set(ans[:k]) or set(ans[-k:])))

Submission status: Runtime Error

Solution code:
#93b
a,b,k=map(int,input().split())
ans=range(a,b+1)
for i in sorted(set(a[:k])):
    print(i)
for i in sorted(set(a[-k:])):
    print(i)

Submission status: Runtime Error

Solution code:
#93a
s=set(input())
x=set(lit('abc'))
print('Yes' if s-x==0 else 'No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = str(input())

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

Submission status: Runtime Error

Solution code:
l=["".join(i) for i in itertools.permutations("abc")]
if input() in l:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
s = set()
for i in [j for j in range(a, min(b + 1, a + x))] :
  print(i)
  s.add(i)
for i in [j for j in range(max(a, b - x + 1), b + 1)] :
  if i not in s:
    print(i)

Submission status: Runtime Error

Solution code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n[1]-n[0]+1<=2*n[2]):
  for i in range(n[0],n[1]+1):
    print(i)
else:
  for j in range(n[0],n[0]+n[2]):
    print(j)
  for k in range(n[1]-n[2]+1,n[1]+1):
    print(k)

Submission status: Runtime Error

Solution code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n[1]-n[0]<=2*n[2]):
  for i in range(n[0],n[1]+1):
    print(i)
else:
  for j in range(n[0],n[0]+n[2]+1):
    print(j)
  for k in range(n[1]-n[2]+1,n[1]+1):
    print(k)

Submission status: Runtime Error

Solution code:
def abc(a,b,k):
    for i in range(k):
        print(a)
        a += 1
    for i in range(k):
        print(b-k+1)
        b += 1
a, b, k = map(int, input().split())

abc(a,b,k)

Submission status: Runtime Error

Solution code:
A,B,K =map(int,input().split())
for i in range(A,B+1):
    if i < (A + K) :
        print(i)
    elif i > (B - K):
        print(i)

Submission status: Runtime Error

Solution code:
A,B,K =map(int,input().split())
for i in range(A,B+1):
    if i < (A + K) or i > (B - K):
        print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B,K=map(int,input().split())
 
for i in range(A,A+K):
    if i <= B-K:
        print(i)
for i in range(B-K,B):
    print(i)

Submission status: Runtime Error

Solution code:
A,B,K=map(int,input().split())

for i in range(A,A+K):
    if i <= B-K:
        print(i)
for i in range(B-K,B):
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# Get input from console, default to string
S = input()
S.sort() # alphabetical sort
if S == 'abc':
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
rom itertools import count, takewhile
from math import floor, sqrt
 
n = int(input())
xys = [map(int, input().split()) for _ in range(n)]
 
def mysqrt(n):
    x = floor(sqrt(n))
    for y in takewhile(lambda y: y**2 <= n, count(max(0, x-2))):
        x = y
    return x
 
for x, y in xys:
    xy = x*y
    root = mysqrt(xy-1)
    ans = root*2 - (root**2 + root >= xy) - 1 + (x == y)
    print(ans)

Submission status: Runtime Error

Solution code:
from itertools import count, takewhile
from math import floor, sqrt

n = int(input())
xys = [map(int, input().split()) for _ in range(n)]

def mysqrt(n):
    x = floor(sqrt(n))
    for y in takewhile(lambda y: y**2 <= n, count(x-1)):
        x = y
    return x

for x, y in xys:
    xy = x*y
    root = mysqrt(xy-1)
    ans = root*2 - (root**2 + root >= xy) - 1 + (x == y)
    print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, K = map(int, input().split())
l = []
for i in range(A, B+1):
    l.append(i)
    
if B - (A-1) < 2*K:
    for j1 in l:
        print(j1)
else:
    m = l[:K] + l[-K:]
    for j in m:
        print(j)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C, D = map(int, input().split())

print(min(A, B) + min(C, D))

Submission status: Runtime Error

Solution code:
a,b,k = map(int,input().split())

if (b - a + 1) > 2 * k:
    for i in range(a,a + k):
        print(i)
    for i in range(b - k + 1,b + 1):
        print(i)
else:
    for i in range(a,b + 1):
        print(i)

Submission status: Runtime Error

Solution code:
a,b,k = map(int,input().split())
li = list(range(a,b + 1))
if (b - a + 1) > 2 * k:
    for i in li[:k]:
        print(i)
    for i in li[-k:]:
        print(i)
else:
    for i in li:
        print(i)

Submission status: Runtime Error

Solution code:
S = input()
a = s.find('a')  # indexは1(2文字目)
b = s.find('b')  # indexは1(2文字目)
c = s.find('c')  # indexは1(2文字目)

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