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:
a, b, k = [int(c) for c in raw_input().split()]
data = []

for i in range(k):
    data.append(a+i)
for i in range(k-1, -1, -1):
    if b-i <= data[-1]: continue
    data.append(b-i)
print " ".join(str(d) for d in data)

Submission status: Runtime Error

Solution code:
inp = raw_input()

c = set([i for i in c])
if len(c) == 3:
    print "Yes"
else:
    print "No"

Submission status: Runtime Error

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:

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=input()
x.solt()
if x=="abc":
	print("YES")
else:
	print("NO")

Submission status: Runtime Error

Solution code:
x=input()
x.solt()
if x==abc:
	print("YES")
else:
	print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
d = list(input())

for i in range(3):
  if d[i] == "a":
    a = 1
  if d[i] == "b":
    b = 1
  if d[i] == "c":
    c = 1
    
    
if a*b*c == 1:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
d = list(input().split())

for i in range(3):
  if d[i] == "a":
    a = 1
  if d[i] == "b":
    b = 1
  if d[i] == "c":
    c = 1
    
    
if a*b*c == 1:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

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

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

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

Submission status: Runtime Error

Solution code:
S = raw_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:
S = raw_input()
if (S[0] != S[1]) and (S[1] != S[2]) and (S[2] != S[0]):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
int main()
{
    char S[3];
    cin >> S[0] >> S[1] >> S[2];
    char a[] = {'a', 'b', 'c'};
    char b[] = {0, 0, 0};
    for (int i = 0; i < 3; i++)
    {
        for (int j = 0; j < 3;j++)
        {
            if (S[i] == a[j]){
                b[j] = 1;
            }
        }
    }
    if( b[0] + b[1] + b[2] == 3){
        cout << "Yes";
    }
    else{
        cout << "No";
    }
    cout << endl;
}

Submission status: Runtime Error

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

# 入力
S = list(input())

# 処理
S = "".join(S.sort())
if S == "abc":
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

# 入力
S = list(input())

# 処理
S = list.join(S.sort())
if S == "abc":
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

# 入力
S = list(input())

# 処理
S = list.join(S.sort())
if S = "abc":
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
mojiretu = input()

a = mojiretu.count(a)
b = mojiretu.count(b)
c = mojiretu.count(c)

if int(a)+int(b)+int(c)==3:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
m = list(map(int, input().split()))
A = m[0]
B = m[1]
K = m[2]

g = list(range(A, B+1))
if len(g) <= 2*K:
    for v in g:
        print(v)
else:
    for i in range(K):
        print(g[i])
    for i in range(len(g)-K, len(g)):
        print(g[i])

Submission status: Runtime Error

Solution code:
numList = input().split()
numList = list(map(int, numList))
commandList = [
	[2,0,0],
	[0,2,0],
	[0,0,2],
	[0,1,1],
	[1,0,1],
	[1,1,0]
]
numListList = [numList]

def search(depth):
	global numListList
	tmpList = []
	for numList in numListList:
		for command in commandList:
			sumedList = sumList(numList, command)
			if check(sumedList, depth+1):
				return
			tmpList.append(sumedList)
	numListList = tmpList
	search(depth+1)

def sumList(list1, list2):
	return [list1[0]+list2[0], list1[1]+list2[1], list1[2]+list2[2]]

def check(numList, count):
	if numList[0] == numList[1] and numList[1] == numList[2]:
		print(count)
		return True

	if numList[0] == numList[1]:
		return check2(numList[0], numList[2], count)

	if numList[1] == numList[2]:
		return check2(numList[1], numList[0], count)

	if numList[0] == numList[2]:
		return check2(numList[0], numList[1], count)

	return False

def check2(num1, num2, count):
	if num1 > num2:
		if (num1-num2)%2 == 0:
			print(int(count+(num1-num2)/2))
			return True
		else:
			print(int(count+(num1-num2)/2)+2)
			return True
	else:
		print(int(count+(num2-num1)))
		return True

if check(numList, 0):
	pass
else:
	search(0)

Submission status: Runtime Error

Solution code:
numList = input().split()
numList = list(map(int, numList))
commandList = [
	[2,0,0],
	[0,2,0],
	[0,0,2],
	[0,1,1],
	[1,0,1],
	[1,1,0]
]
numListList = [numList]

def search(depth):
	global numListList
	tmpList = []
	for numList in numListList:
		for command in commandList:
			sumedList = sumList(numList, command)
			if check(sumedList, depth+1):
				return
			tmpList.append(sumedList)
	numListList = tmpList
	search(depth+1)

def sumList(list1, list2):
	return [list1[0]+list2[0], list1[1]+list2[1], list1[2]+list2[2]]

def check(list1, count):
	if list1[0] == list1[1] and list1[1] == list1[2]:
		print(count)
		return True

	if list1[0] == list1[1]:
		return check2(list1[0], list1[2], count)

	if list1[1] == list1[2]:
		return check2(list1[1], list1[0], count)

	if list1[0] == list1[2]:
		return check2(list1[0], list1[1], count)

	return False

def check2(num1, num2, count):
	if num1 > num2:
		if (num1-num2)%2 == 0:
			print(int(count+(num1-num2)/2))
			return True
		else:
			print(int(count+(num1-num2)/2)+1)
			return True
	else:
		print(int(count+(num2-num1)))
		return True

if numList[0] == numList[1] and numList[1] == numList[2]:
	print(0)
else:
	search(0)

Submission status: Runtime Error

Solution code:
# PROBLEM A
s = input()
letters = set(s)
perm_abc = len(letters) == 3 and all(c in letters for c in 'abc')
if perm_abc:
    print 'Yes'
else:
    print 'No'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()

for c in s:
    if c == 'a':
        r = 1
    if c == 'b':
        r = 2
    if c == 'c':
        r = 4

if r = 7:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
a,b,k = map(int, input().split())
if a + k - 1 < b:
  min_ = a + k - 1
else:
  for i in range(a, b + 1):
    print(i)
  exit(0)
max_ = b - k + 1
for i in range(a, min_ + 1):
    print(i)
for i in range(max_, b + 1):
    print(i)

Submission status: Runtime Error

Solution code:
x[] = input().split()
a = b = c = 1
for i in 3:
    if x[i] == 'a':
        a--;
    elif x[i] == 'b':
        b--;
    else:
        c--;
if a == 0 and b == 0 and c == 0: 
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
S = input()
if len(set((S[0], S[1], S[2]))) == 3:
    print("Yes")
else:
    pritn("No")

Submission status: Runtime Error

Solution code:
S = input()
print(S[0])
if len(set((S[0], S[1], S[2]))) == 3:
    print("Yes")
else:
    pritn("No")

Submission status: Runtime Error

Solution code:
S = input()
if len(set(S[0], S[1], S[2])) == 3:
    print("Yes")
else:
    pritn("No")

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>

int main(){
  string S;
  cin >> S;
  if (s.find("a") != std::string::npos && s.find("b") != std::string::npos && s.find("c") != std::string::npos){
  cout << "YES" << endl;
  }
  else
  cout << "NO" << endl;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = sorted(int(i) for i in input().split()) 
print((a[1] - a[0]+1) // 2 + a[2] - a[1] + (a[1] - a[0]) % 2)

Submission status: Runtime Error

Solution code:
a,b,k = list(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:
# -*- coding: utf-8 -*-
# 文字列の入力
a = input()

if (a.count("a") + a.count("b") + a.count("c") ) == 3):
    print("Yes")
# 出力
else:
    print("No")

Submission status: Runtime Error

Solution code:
s = [0, 0, 0]
s[0] = str(input())
s[1] = str(input())
s[2] = str(input())

z = 0

for i in [s[0], s[1], s[2]]:
    if i == 'a':
        z += 1
    elif i == 'b':
        z += 2
    elif i == 'c':
        z += 4

if z == 7:
    print('yes')
else:
    print('no')

Submission status: Runtime Error

Solution code:
#abc093b
import sys

a,b,k=map(int,raw_input().split())
if a==b:
 print a
 sys.exit()
l1=[i for i in xrange(a,a+k)]
l2=[i for i in xrange( b-k+1,b+1)]
s1=set(l1)
s2=set(l2)
if b-k>=k-a:
 res=list(s1 | s2)
else:
 res=list(s1 & s2)
res.sort()
for i in xrange(len(res)):
 print res[i]

Submission status: Runtime Error

Solution code:
#abc093b
import sys

a,b,k=map(int,raw_input().split())
if a==b:
 print a
 sys.exit()
l1=[i for i in xrange(a,a+k)]
l2=[i for i in xrange( b-k+1,b+1)]
s1=set(l1);print s1
s2=set(l2);print s2
if b-k>=k-a:
 res=list(s1 | s2)
else:
 res=list(s1 & s2)
res.sort()
for i in xrange(len(res)):
 print res[i]

Submission status: Runtime Error

Solution code:
s = input()

if s[0] == s[1] && s[1] == s[2] && s[0] == s[2]:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
S=input()
s = list(S)
alterS = [int(s[0],16),int(s[1],16),int(s[2],16)]
if sum(alterS) ==33:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
S=input()
def arrabgeJudge(S):
    s = list(S)
    alterS = [int(s[0],16),int(s[1],16),int(s[2],16)]
    if sum(alterS) ==33:
        print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
S=input(prompt)
def arrabgeJudge(S):
    s = list(S)
    alterS = [int(s[0],16),int(s[1],16),int(s[2],16)]
    if sum(alterS) ==33:
        print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
S = input()
judge = 0
koho = [2748,2763,2988,3018,3258,3243]
for i in range(6):
    if int(S,16) == koho[i]:
        judge +=1
if judge == 1:
    print('Yes')
if judge == 0:
    print('No')

Submission status: Runtime Error

Solution code:
S = input()
judge = 0
koho = [2748,2763,2988,3018,3258,3243]
for i in range(6):
    if int(S,16) == koho[i]:
        judge +=1
if judge == 1:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
judge = 0
koho = [2748,2763,2988,3018,3258,3243]
for i in range(6):
    if int(S,16) == koho[i]:
        judge +=1
if judge == 1:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
s = list(S)
alterS = [int(s[0],16),int(s[1],16),int(s[2],16)]
if sum(alterS) ==33:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
def mySort(S):
    if 'a' not in S:
        return 'No'
    elif 'b' not in S:
        return 'No'
    elif 'c' not in S:
        return 'No'
    else:
        return 'Yes'
    
mySort(S)

Submission status: Runtime Error

Solution code:
def mySort(arg1):
    if 'a' not in S:
        return 'No'
    elif 'b' not in S:
        return 'No'
    elif 'c' not in S:
        return 'No'
    else:
        return 'Yes'
    
mySort(S)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = [i for i in input()]
b = set(a)
print(["No", "Yes"][len(a) == 3 and b == 3]

Submission status: Runtime Error

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

Number=0
count =0

for i in range (51):
    MAX=max(A,B,C)
    Number=0
    if MAX==A:
        Number=Number+1
    if MAX==B:
        Number=Number+1
    if MAX==C:
        Number=Number+1

    if Number ==1:
        MAX=max(A,B,C)
        if MAX!=A:
            A=A+1
        if MAX!=B:
            B=B+1
        if MAX!=C:
            C=C+1
        count=count +1
        Number=0

    if Number ==2:
        MAX=max(A,B,C)
        if MAX!=A:
            A=A+2
        if MAX!=B:
            B=B+2
        if MAX!=C:
            C=C+2
        count=count +1
        Number=0
    
    if Number ==3:
        print('%d'%(count))
        break

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
A, B, C = sorted([a, b, c])
if (B - A) % 2 == (C - A) % 2 == 0:
    print((C - A) // 2 + (C - B) // 2)
else:
    print((C - A) // 2 + (C - B) // 2 + 2)

Submission status: Runtime Error

Solution code:
A, B, K = map(int, input().split())
K2=B-A
K3=K2-K*2
if K3 > 0:
    for i in range (K):
        print ('%d'%(A+i))
    for i in range (K):
        print ('%d'%(B-K+i+1))
if K3 <= 0:
    for i in range (B-A+1):
        print ('%d'%(A+i))

Submission status: Runtime Error

Solution code:
S=input().replace("abc","").replace("acb","").replace("bac","").replace("bca","").replace("cab","").replace("cba","")
if s:
	print("NO")
else:
    print("YES")

Submission status: Runtime Error

Solution code:
S=input().replace("abc","").replace("acb","").replace("bac","").replace("bca","").replace("cab","").replace("cba","")
if s:
    print("NO")
else:
    print("YES")

Submission status: Runtime Error

Solution code:
ip=[int(x) for x in input().split()]
a=ip[0];b=ip[1];k=ip[2]
ans=list()
for i in range(0,k):
    ans.append(a)
    ans.append(b)
    a=a+1
    b=b-1
    if((a==ip[1])|(b==ip[0])):
        break
res=list(set(ans))
res.sort()
for i in res:
    print(i)

Submission status: Runtime Error

Solution code:
SS = int(input())
S = (list(SS))
if "a" not in S:
    print("No")
else:
    if "b" not in S:
        print("No")
    else:
        if "c" not in S:
            print("No")
        else:
            print("Yes")

Submission status: Runtime Error

Solution code:
SS = int(input())
"""
SS= "cba"
"""
print(list(S))

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

Submission status: Runtime Error

Solution code:
import numpy as np

queue = [np.array([ int(n) for n in input().split() ] + [0])]

while queue:
    now = queue.pop(0)

    if now[0] == now[1] == now[2]:
        print(now[3])
        break

    min = np.argmin(now[:3])
    
    if(np.max(now[:3])-np.min(now[:3]) > 2):
        now[min] += 2
        now[3] += 1
        queue.append(now)

    else:
        queue.append(now+[1, 1, 0, 1])
        queue.append(now+[1, 0, 1, 1])
        queue.append(now+[1, 1, 0, 1])
        queue.append(now+[0, 1, 1, 1])
        queue.append(now+[1, 0, 1, 1])
        queue.append(now+[0, 1, 1, 1])

Submission status: Runtime Error

Solution code:
import numpy as np

queue = [np.array([ int(n) for n in input().split() ] + [0])]

while queue:
    now = queue.pop(0)
    print(now)

    if now[0] == now[1] == now[2]:
        print(now[3])
        break

    min = np.argmin(now[:3])
    
    if(np.max(now[:3])-np.min(now[:3]) > 2):
        now[min] += 2
        now[3] += 1
        queue.append(now)

    else:
        queue.append(now+[1, 1, 0, 1])
        queue.append(now+[1, 0, 1, 1])
        queue.append(now+[1, 1, 0, 1])
        queue.append(now+[0, 1, 1, 1])
        queue.append(now+[1, 0, 1, 1])
        queue.append(now+[0, 1, 1, 1])

Submission status: Runtime Error

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

Number=0
count =0

for i in range (1000):
    MAX=max(A,B,C)
    Number=0
    if MAX==A:
        Number=Number+1
    if MAX==B:
        Number=Number+1
    if MAX==C:
        Number=Number+1

    if Number ==1:
        MAX=max(A,B,C)
        if MAX!=A:
            A=A+1
        if MAX!=B:
            B=B+1
        if MAX!=C:
            C=C+1
        count=count +1
        Number=0

    if Number ==2:
        MAX=max(A,B,C)
        if MAX!=A:
            A=A+2
        if MAX!=B:
            B=B+2
        if MAX!=C:
            C=C+2
        count=count +1
        Number=0
    
    if Number ==3:
        print('%d'%(count))
        break

Submission status: Runtime Error

Solution code:
data = input()

if data.find('a') != -1 and data.find('b') != -1 and data.find('c') != -1:
	print 'Yes'
else:
  	print 'No'

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input().split())
a=max(x,y,z)
b=min(x,y,z)
c=x+y+z-a-b
if (a-b)%2==0:
	d=(a-b)/2
	if (a-c)%2==0:
		print(int((a-c)/2+d))
	else:
		print(int((a-1-c)/2+d+2))
else:
	e=(a-b-1)/2
	if (a-c)%2==0:
		print(int((a-c)/2+2+e))
	else:
		print(int((a-1-c)/2+1+e))

Submission status: Runtime Error

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

def calculate(P, Q, R):
    num = 0
    if abs(P - Q) % 2 == 0:
        num += abs(P - Q) // 2
    else:
        num += 1 + (abs(P - Q) + 1) // 2
        P += 1
        R += 1

    if  P - R >= 0:
        if abs(P - R) % 2 == 0:
            num += abs(P - R) // 2
        else:
            num += 1 + (abs(P - R) + 1) // 2

    else:
        num += abs(P - R)

    return num

ans = min(calculate(C, B, A), calculate(C, A, B), calculate(B, A, C))

print(ans)

Submission status: Runtime Error

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

def calculate(P, Q, R):
    num = 0
    if abs(P - Q) % 2 == 0:
        num += abs(P - Q) // 2
    else:
        num += 1 + (abs(P - Q) + 1) // 2
        P += 1
        R += 1

    if abs(P - R) % 2 == 0:
        num += abs(P - R) // 2
    else:
        num += 1 + (abs(P - R) + 1) // 2

    return num

ans = min(calculate(C, B, A), calculate(C, A, B), calculate(B, A, C))

print(ans)

Submission status: Runtime Error

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

while a+i <= b and i < k:
    x = a + i
    print(x)
    i += 1

i = k - 1
while b-i <= b:
    y = b - i
    if y <= x:
        i -= 1
        continue
    print(y)
    i -= 1

Submission status: Runtime Error

Solution code:
S = raw_input()
if 'a' in S and 'b' in S and 'c' in S:
    print 'true'
else:
    print 'false'

Submission status: Runtime Error

Solution code:
data = list(map(int,input().split()))

A = data[0]
B = data[1]
K = data[2]

ans = []
for i in range(K):
    a = A+i
    b = B-i
    
    if a <= b:
        ans.append(a)
    if a >= b:
        break
    
    ans.append(b)
    
ans.sort()

for i in ans:
    print(i)

Submission status: Runtime Error

Solution code:
text = input()

a = int(text.split(' ')[0])
b = int(text.split(' ')[1])
c = int(text.split(' ')[2])

x, y, z = sorted([a, b, c])

cnt = z - y
y = z
x += cnt

cnt += int((y - x) / 2)
x += int((y - x) / 2) * 2

if y - x == 1:
    print(cnt+2)
else:
    print(cnt)

Submission status: Runtime Error

Solution code:
from collections import deque

A, B, K = input().split()

A = int(A)
B = int(B)
K = int(K)

value = deque()
s = [i for i in range(A, B+1)]

value.extend(s[0:K])
value.extend(s[len(s)-K:len(s)])

num = list(set(value))

for i in range(len(num)):
    print(num[i])

Submission status: Runtime Error

Solution code:
A, B, K = (int(i) for i in input().split()) 
low = range(A,A+K)
high = range(B,B-K,-1)
t = sorted(list(set(low) | set(high)))
for s in t:
    if s >= A and s <= B:
        print(s)

Submission status: Runtime Error

Solution code:
S = raw_input()

chksum = 0
 
if ('a' in S):
    chksum+=1
if ('b' in S):
    chksum+=1
if ('c' in S):
    chksum+=1
    
if chksum == 3:
	print("yes")
else:
	print("no")

Submission status: Runtime Error

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

for i in range(k):
    x = a + i
    if x > b:
        break
    print(x)


for i in range(k-1, -1, -1):
    y = b - i
    if y <= x:
        continue
    print(y)

Submission status: Runtime Error

Solution code:
S = raw_input()

n_a = S.find('a')
n_b = S.find('b')
n_c = S.find('c')

chksum = n_a + n_b + n_c

if chksum = 0:
	print("yes")
else:
	print("no")

Submission status: Runtime Error

Solution code:
import sys

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

Submission status: Runtime Error

Solution code:
a, b, c  = [int(x) for x in input().strip().split()]

res = {x for seq in [range(a,min(a+c, b)), range(b, max(a,b-c), -1)] for x in seq}

if a==b:
    res = {a}

for x in sorted(list(res)):
    print(x)

Submission status: Runtime Error

Solution code:
a, b, k = map(int, input().split())
for x in range(a,b):
  if x < a + k  or x > b - k:
    print(x)
  else:
    continue

Submission status: Runtime Error

Solution code:
def main():
    a = input()
    if 'a' in a and 'b' in a and 'c' in a:
        print("yes", end=")
    else:
        print("no", end=")

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
s = str(input())

b = s.find("a")
v = s.find("b")
t = s.find("c")

m = int(b) + int(a) + int(c)

if m == 3:
    print("Yes")
if m != 3:
    print("No")

Submission status: Runtime Error

Solution code:
# coding: utf-8
import re
S = input()
find_a= re.findall("a")
find_b = re.findall("b")
find_c = re.findall("c")
if find_a and find_b and find_c:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import collections
abc = input().strip()
c = collections.Counter(abc)
if c['a']==1 and c['b' ==1 and c['c' == 1:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
inp = input()
if 'a' and 'b' and 'c' in [inp[0],inp[1],inp[2]]: print('Yes')
else print('No')

Submission status: Runtime Error

Solution code:
# coding : utf-8

import numpy as np

A = input()

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

Submission status: Runtime Error

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

Solution code:
S = input()
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()
ans=[0,0,0]
for i in range(3):
  if s[i]=='a':
    ans[0]+=1
  elif s[i]=='b':
    ans[1]+=1
  else:
    ans[2]+=1
if ans[0]==1 and ans[1]==1 and ans[2]==1:
  print("Yes")
else:
  print("No)

Submission status: Runtime Error

Solution code:
S = input()
ans = "Yes"
for s in S:
    if s in "abc":
        
    else:
        ans = "No"
        break:
print(ans)