Problem:


Score : 200 points

Problem Statement

There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000.

Among them, some K consecutive stones are painted black, and the others are painted white.

Additionally, we know that the stone at coordinate X is painted black.

Print all coordinates that potentially contain a stone painted black, in ascending order.

Constraints

1 \leq K \leq 100

0 \leq X \leq 100

All values in input are integers.

Input

Input is given from Standard Input in the following format:

K X

Output

Print all coordinates that potentially contain a stone painted black, in ascending order, with spaces in between.

Sample Input 1

3 7

Sample Output 1

5 6 7 8 9

We know that there are three stones painted black, and the stone at coordinate 7 is painted black. There are three possible cases:

The three stones painted black are placed at coordinates 5, 6, and 7.

The three stones painted black are placed at coordinates 6, 7, and 8.

The three stones painted black are placed at coordinates 7, 8, and 9.

Thus, five coordinates potentially contain a stone painted black: 5, 6, 7, 8, and 9.

Sample Input 2

4 0

Sample Output 2

-3 -2 -1 0 1 2 3

Negative coordinates can also contain a stone painted black.

Sample Input 3

1 100

Sample Output 3

100



Sample input:
3 7


Sample output:
5 6 7 8 9

Submission status: Runtime Error

Solution code:
k =int(input())
x = int(input())
for i in range(x-(k-1),k+x):
  print(i,end=" ")

Submission status: Runtime Error

Solution code:
inpot = input()
x = inpot[0]
k = inpot[1]
j = []

for i in range((x-k+1),(x+k-1)):
  j.append(i)
str1 = ' '.join(j)
print(j)

Submission status: Runtime Error

Solution code:
k , x = map(int ,intput().split())
for i in range(k):
  	print(x + i, end = " ")

Submission status: Runtime Error

Solution code:
k , x = map(int ,intput().split())
for i in range(k):
  print(x + i)

Submission status: Runtime Error

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

for i in range(2*K):
  list[i]=(X-K+1+i)
  print(*list)

Submission status: Runtime Error

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

a = list(range(x-(k-1), x+k)
print(*a)

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
ans = []
for i in range(N):
    ans.append(k-i)
for j in range(1, N, 1):
    ans.append(k+i)
ans = sorted(ans)
 
for k in ans:
    print(ans[k])

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
ans = []
for i in range(N):
  ans.append(k-i)
for j in range(1, N, 1):
  ans.append(k+i)
  
ans = sorted(ans)

for k in ans:
  print(ans[k])

Submission status: Runtime Error

Solution code:
a,b = [int(i) for i in input().split()]
	for x in range(b-a+1,a+b):
		if x>=-1000000 and x<=1000000:
			print(x,end = " ")

Submission status: Runtime Error

Solution code:
K, X=map(int,input().split())
print(x, for x in range(X-K+1,X+K))

Submission status: Runtime Error

Solution code:
K, X = map(int,input().split())
for i in range(X-K+1, X+K-1):
    print(i," ",  end = "")
print(i+1)

Submission status: Runtime Error

Solution code:
n=list(map(int,input().split()))
x,k=list[n]
while x-k-1 <= 2*x+k-1:
    print(x-k-1)
    k+=1
print("end")

Submission status: Runtime Error

Solution code:
k,x = map(int,iinput().split))
for i in range(x-k+1,x+k):
  print(i)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(x-k+1,x+k):
  if i<x+k-1:
    print(i,end' ')
  else:
    print(i)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(x-k+1,x+k):
  if i<x+k-1:
    print(i,end'')
  else:
    print(i)

Submission status: Runtime Error

Solution code:
max_num = 1000000
min_num = -1000000
k,x = map(int, input().split())
if x + k > 1000000:
    min_num = x - k
elif x - k < -1000000:
    max_num = x + k
else:
    min_num = x - k
    max_num = x + k

for i range( min_num, max_num ):
    print i

Submission status: Runtime Error

Solution code:
k, x = input(). split()
k = int(k)
x = int(x)

l = x - k + 1
m = x + k

for i in range(l, m)
    print(i)

Submission status: Runtime Error

Solution code:
k, x = input(""). split("")
k = int(k)
x = int(x)

l = x - k + 1
m = x + k

for i in range(l, m):
    print(i)

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
A=X-K+1
B=X+K-1
L=[]
for i in range(A,B):
  if i > 1000000 or i < -1000000:
    continue
  L.attend(str(i))
print(*L)

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
A=X-K+1
B=X+K-1
L=[]
for i in range(A,B):
  if i > 1000000 or i < -1000000:
    continue
  L.attend(i)
print(*L[0])

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
A=X-K+1
B=X+K-1
L=[]
for i in range(A,B):
  if i > 1000000 or i < -1000000:
    continue
  L.attend(i)
print(*L)

Submission status: Runtime Error

Solution code:
k,x=[int(i) for i in input().split()]

left=max(−1000000,x-k+1)
right=min(x+k-1,1000000)
for i in range(left,right+1):
    print(i,end=' ')
print()

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
A = []
for i in range(X-(K-1),X+(K-1)+1):
  A.append(i)
print(" ".join(A[0]))

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
A = []
for i in range(X-(K-1),X+(K-1)+1):
  A.append(i)
print(" ".join(A))

Submission status: Runtime Error

Solution code:
k,x = map(int,input().split())
c = list(range(k-x+1,k+x)) 
print(" ".join([n for n in c]))

Submission status: Runtime Error

Solution code:
k, x = map(int, f.readline().split())
min = x - k + 1
max = x + k - 1
txt = str(min)
for i in range(max - min):
    txt = txt + " " + str(min+1)
    min += 1
print(txt)

Submission status: Runtime Error

Solution code:
k,x=map(int, input().split())
print(" ".join([x-k+i for i in range(1, 2k)]))

Submission status: Runtime Error

Solution code:
k,x=map(int, input().split())
print(" ".join([x-k+1+i for i in range(2k+1)]))

Submission status: Runtime Error

Solution code:
k, x=map(int, input().split())
print(" ".join([x-i for i in range(-k, k+1)]))

Submission status: Runtime Error

Solution code:
a,b=map(int, input().split())
print(" ".join([x-i for i in range(-k, k)]))

Submission status: Runtime Error

Solution code:
k = int(input())
x = int(input())
li = [str(x-k+1+i) for i in range(2*k-1)]
l = ' '.join(li)
print(l)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
start,end=max(-100_0000,x-(k-1)),min(100_0000,x+(k-1))
r=range(start,end+1)
print(*r,sep=' ')

Submission status: Runtime Error

Solution code:
k,x=map(int,input(),split())

ans=range(x-k+1,x+k-1)
print(*ans)

Submission status: Runtime Error

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

list = []

for i in range(X-K+1,X+K):
    list.append(i)

print(" ".join(map(int,list))

Submission status: Runtime Error

Solution code:
  K, X = map(int, input().split(' '))
  print(*(range((X + 1) - K, (X + K))))

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
i = X - K + 1
lis = []
while i <= n + K - 1:
  lis.append(i)
  i += 1
print(lis)

Submission status: Runtime Error

Solution code:
    K, X = list(map(int, input().split()))
    minimum = max(-1000000, X - (K - 1))
    maximum = min(X + (K - 1), 1000000)
    print(' '.join(map(str, range(minimum, maximum + 1))))

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
for i in range(max(1, x - 3), x + 4, 1):
  preint(i)

Submission status: Runtime Error

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

if(k == 1):
    print(x)
else:
    ans = [i for i in range(x-k+1, x+k-1)]
    print(" ".join(ans))

Submission status: Runtime Error

Solution code:
import pandas as pd

k, x = map(int, input().split())

axis = list(range(-1000000, 1000001, 1))
df = pd.DataFrame(axis)
df = df.rename(columns = {0 : 'var'})

res = []

if k == 1:
    print(x)
else:
    for i in range(1, k):

        a = df[df['var'] == x + i]
        a = list(a['var'])
        res.append(a)
        
        a = df[df['var'] == x - i]
        a = list(a['var'])
        res.append(a)
    res.append([x])
    res = sum(res, []) #リスト一段解除
    res = sorted(res) #並び替え
    print(*res)

Submission status: Runtime Error

Solution code:
import pandas as pd

k, x = map(int, input().split())

axis = list(range(-10, 11, 1))
df = pd.DataFrame(axis)
df = df.rename(columns = {0 : 'var'})

res = []

if k == 1:
    print(x)
else:
    for i in range(1, k):

        a = df[df['var'] == x + i]
        a = list(a['var'])
        res.append(a)
        
        a = df[df['var'] == x - i]
        a = list(a['var'])
        res.append(a)
    res.append([x])
    res = sum(res, []) #リスト一段解除
    res = sorted(res) #並び替え
    print(*res)

Submission status: Runtime Error

Solution code:

k, x = map(int, input().split())

axis = list(range(-10, 11, 1))
df = pd.DataFrame(axis)
df = df.rename(columns = {0 : 'var'})

res = []

if k == 1:
    print(x)
else:
    for i in range(1, k):

        a = df[df['var'] == x + i]
        a = list(a['var'])
        res.append(a)
        
        a = df[df['var'] == x - i]
        a = list(a['var'])
        res.append(a)
    res.append([x])
    res = sum(res, []) #リスト一段解除
    res = sorted(res) #並び替え
    print(*res)

Submission status: Runtime Error

Solution code:
import pandas as pd

k, x = map(int, input().split())

axis = list(range(-10, 11, 1))
df = pd.DataFrame(axis)
df = df.rename(columns = {0 : 'var'})

res = []

if k == 1:
    print(x)
else:
    for i in range(1, k):

        a = df[df['var'] == x + i]
        a = list(a['var'])
        res.append(a)
        
        a = df[df['var'] == x - i]
        a = list(a['var'])
        res.append(a)
    res.append([x])
    res = sum(res, []) #リスト一段解除
    res = sorted(res) #並び替え
    print(*res)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
lst=[]
for i in range(1,2*k):
  lst.append(x-k+i)
lst_2=''.join(lst)
print(lst_2)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
lst=[]
for i in range(1,2*k):
  lst.append(x-k+i)
lst_2=lst.split('')
print(lst_2)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
lst=[]
for i in range(1,2*k):
  lst.append(x-k+i)
lst_2=''.split(lst)
print(lst_2)

Submission status: Runtime Error

Solution code:
k , x = map(int(input().split()))
for i in range(x-k+1,x+k-1) :
    print(int(i), end=" ")

Submission status: Runtime Error

Solution code:
k , x = map(int(input().split()))
for i in range(x-k+1,x+k-1) :
    print(i, end=" ")

Submission status: Runtime Error

Solution code:
k,x = map(int,input().split())
list=[x-(k-1)+i for i in range(2*k-1)]
print(' '.join(list))

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
l = []
for i in range(k):
    l.append(x+i)
    if i > 0:
        l.append(x-i)
l = sorted(l)
for j in range(10000):
    print(l[j], end=" ")

Submission status: Runtime Error

Solution code:
l = list(map(int,input().split()))
k = l[0]
x = l[1]
for i in range(x-k+1,x+k)
print(i )

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
ans=[x+i for i in range(-k+1,k)]
print(" ".join(ans))

Submission status: Runtime Error

Solution code:
k,x = map(input().split())
start=max(-1000000,x-k+1)
end=min(1000000,x+k-1)
print(" ".join(range(start,end+1)))

Submission status: Runtime Error

Solution code:
src = input().split()
k = int(src[0])
x = int(src[1])
min = x-k+1
max = x+k-1
print(list(range(min,max+1)

Submission status: Runtime Error

Solution code:

K = int(input())
X = int(input())
s = X-K+1
for i in range(2*K -1):
    A = s+i
    print(str(A)+' ')

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
s = X-K+1
e = X+K-1
for i in range(s,e):
    print(str(i)+' ')

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
s = X-K+1
e = X+K-1
for i in range(s,e):
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
lst=[]
for i in range(1,k):
  lst.append(x-k+i)
lst.append(x)
for j in range(1,k):
  lst.append(x+j)
print(''.join(lst))

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
lst=[x]
for i in range(1,k):
  lst.append(x-i)
  lst.append(x+i)
print(','.join(lst))

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
L1 = list(range(X-K+1,X+K-1))
L2 =' '.join(L1)
print(L2)

Submission status: Runtime Error

Solution code:
K , X = map(int,input().split())
i, ans = X - K + 1, ''
for i in range(X+k):
	ans += str(i) + ' '
print(ans)

Submission status: Runtime Error

Solution code:
K , X = map(int,input().split())
i, ans = X - K + 1, ''
for i in range(X+k):
  ans += str(i)
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
k , x = list(map(int(input().split)))
 
t = x-(k-1)
s = x+(k-1)
 
 
for i in range(t,s):
  print(i)

Submission status: Runtime Error

Solution code:
k , x = list(map(int(input(),split)))
 
t = x-(k-1)
s = x+(k-1)
 
 
for i in range(t,s):
  print(i)

Submission status: Runtime Error

Solution code:
k , x = list(map(int(input())))

t = x-(k-1)
s = x+(k-1)


for i in range(t,s):
  print(i)

Submission status: Runtime Error

Solution code:
num = input().split()
k = int(num[0])
x = int(num[1])
ans = []
for i in range(x - k + 1, x + k):
    ans.append(i)
print(ans)
s

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split());q=max(-1000000,b-a+1);w=min(1000000,b+a-1);A=[i for i in range(q,w+1)];print([A][0]*)

Submission status: Runtime Error

Solution code:
k, x = map(int, input())
rng = range(x-k+1, x+k)
print(' '.join(map(str, rng)))

Submission status: Runtime Error

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

k = il[0]
x = il[1]

minusLimit = x - k + 1
plusLimit = x + k - 1

i = minusLimit

while minusLimit <= i <= pulusLimit :
  str = i + " "
str[:-1]
print(str)

Submission status: Runtime Error

Solution code:

k, x = map(int, input().split())
for i in range(x-k+1 , x+k):
    print(i+' ', end='')

Submission status: Runtime Error

Solution code:
k = input('整数を入力してください：')

while k.replace('-', '').isdigit() == False or int(k) > 100 or int(k) < 1:
    print('Error')
    k = input('整数を入力してください：')
else:
    k = int(k)
k = int(k)

x = input('整数を入力してください：')

while x.replace('-', '').isdigit() == False or int(x) > 100 or int(x) < 0:
    print('Error')
    x = input('整数を入力してください：')
else:
    x = int(x)
x = int(x)


result = []
for i in range(x,-k,-1):
    result.append(i)
for j in range(x+1,k):
    result.append(j)
result.sort()
print(format(result))

Submission status: Runtime Error

Solution code:
def stones(input):
  	k = int(input[0])
    x = int(input[1])
    if k is 1:
        print(x)
        return x
    j = [i for i in range(x - k, x + k)]
    s = ' '.join(map(str, j))
    print(s)
    return


stones(input())

Submission status: Runtime Error

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

low = X - K
hight = X + K

a = set()
for x in range(low + 1, hight, 1):
    a.add(x)
print(' '.join([str(x) for x in sorted(a)]b))

Submission status: Runtime Error

Solution code:
k,x=map(int, input().split())
min_ans=x-k+1
max_ans=x+k-1
ans_list=list(range(min_ans,max_ans+1))
print(" ".join(ans_list))

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
for i in range(X-(K-1),X+K):
  print(i + " ")

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
for i in range(X-(K-1),X+(K-1)):
  print(i + " ")

Submission status: Runtime Error

Solution code:
K,X = map(int,input().split())
for i in range(X-(K-1),X+(K+1)):
  print(i + " ")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
K,X=map(int,input().split())
string=''
for i in range(X-K+1,X+K):
  string+=i+' '
print(string)

Submission status: Runtime Error

Solution code:
k = int(input())
x = int(input())
li = [str(x-k+1+i) for i in range(2*k-1)]
l = ' '.join(li)
print(int(l))

Submission status: Runtime Error

Solution code:
k = int(input())
x = int(input())
li = [str(2*k-1+i) for i in range(2*k-1)]
l = ' '.join(li)
print(l)

Submission status: Runtime Error

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

min = X - K + 1
max = X + K 

for i in range(min , max ):
    print("{} "). format(i)

Submission status: Runtime Error

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

min = X - K + 1
max = X + K - 1

for i in range(min , max + 1):
    print("{} "). format(i)

Submission status: Runtime Error

Solution code:
K, X = [int(n) for n in input().split()]
print(" ".join([n for n in range(X-(K-1), X+(K-1))]))

Submission status: Runtime Error

Solution code:
K, X = [int(n) for n in input().split()]
print(" ".join([n for n in range(X-(K-1), X+(K-1)]))

Submission status: Runtime Error

Solution code:
k,x = map(int, input().split())
for i in x-k+1, 2k-1 :
  print(i)

Submission status: Runtime Error

Solution code:
k,x,y = map(int, input().split())
y = x-(k-1)
for y in 2k-1 :
  print(y)

Submission status: Runtime Error

Solution code:
k,x = map(int, input().split())
y = x-(k-1)
for y in 2k-1 :
  print(y)

Submission status: Runtime Error

Solution code:
#include<iostream>
using namespace std;
#define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i)
#define rep(i,n) REP(i,0,n)
int main(){
    int K, X;
    cin >> K >> X;
    X -= K - 1;
    rep(i,2*K-1) cout<<X+i<<" ";
    cout<<endl;

    return 0;

}

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split(' '))
print(' '.join([ for i in range(X - (K + 1), (X + K + 1))]))

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
K = a[0]
X = a[1]
m = X - K
M = x + K
size = M - m + 1
for i in range(size):
  print(m+i)

Submission status: Runtime Error

Solution code:
import numpy as np

k,x = np.array(list(map(int,input().split())))
initial = int(x)

for index in range(k-1):
  x = np.append(x,initial+index+1)
  x = np.insert(x,0,initial-index-1)
  
print(" ".join(list(map(str,x))))

Submission status: Runtime Error

Solution code:
a,b=map(int,input(),split())
for i in range(2*a-1):
  print(b-a+1+i,end=" ")

Submission status: Runtime Error

Solution code:
a,b=map(int,input(),split())
for i in range(2*a-1):
  print(b-a+1,end="")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
print range(x-k+1,x+k-1)

Submission status: Runtime Error

Solution code:
K = int(input())
X = int(input())
for i in range(X-K+1,X+K):
    print(i)

Submission status: Runtime Error

Solution code:
A = list(map(int, input().split()))
print(for i in range(A[0] * 2-1): A[1]-A[0] + i)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(x-k+1,x+K):
  print(i, end=' ')

Submission status: Runtime Error

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

print(" ".join(list(range(x-k+1,x+k-1))))

Submission status: Runtime Error

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

tmp = [y for y in range(x-k+1, x+k)]
y = ' '.join(tmp)
print(y)

Submission status: Runtime Error

Solution code:
#input 2 integers K and X
K,X = (int(x) for x in input().split())

#define answer vaiable
ans = []
for x in range(X-(K-1), X+(K-1))
	ans.append(x)

#display ans
print(ans)

Submission status: Runtime Error

Solution code:
#input 2 integers K and X
K,X = (int(x) for x in input().split())

#define answer vaiable
for x in range(X-(K-1), X+(K-1))
	ans.append(x)

#display ans
print(ans)

Submission status: Runtime Error

Solution code:
a, b =map(int, input().split())
c = ""
for i in range(b -a, b+a)
	c = c + str(i) + " "
print(c)

Submission status: Runtime Error

Solution code:
n = list(map(int, input().split()))
k = n[0]
x = n[1]
s1 = n - x - 1
s2 = n + x - 1
print(list(range( (s1), (s2 + 1)  )))

Submission status: Runtime Error

Solution code:
n = list(map(int, input().split()))
k = n[0]
x = n[1]
s1 = n - k- 1
s2 = n + k - 1
print(list(range( (s1), (s2 + 1)  )))

Submission status: Runtime Error

Solution code:
s = list(map(int, input().split(' ')))
k = s[0]
x = s[1]

min = −1000000
max =  1000000


if x-k+1 > min:
  min = x-k+1

if x+k-1 < max:
  max = x+k-1

for i in range(min,max)
	print(i,end=' ')
print()

Submission status: Runtime Error

Solution code:
num = [int(i) for i in input().split()]
K = num[0]
X = num[1]
 
ans = [i for i in range(X-K+1, X+K)]
for i in range(2*K+1):
  print(ans[i], end=' ')

Submission status: Runtime Error

Solution code:
num = [int(i) for i in input().split()]
K = num[0]
X = num[1]
 
ans = [i for i in range(X-K+1, X+K)]
for i in range(2*K+1):
  print(ans[i], end='')

Submission status: Runtime Error

Solution code:
num = [int(i) for i in input().split()]
K = num[0]
X = num[1]

print([i for i in range(X-K+1, X+K)]

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split())
 for i in range(X - K + 1, X + K):
      if i < X + K - 1:
         print(i, end=' ')
      else:
         print(i)

Submission status: Runtime Error

Solution code:
k, x = [int(x) for x in input().split()]
print(" ".join(range(x - k + 1, x + k - 1)))

Submission status: Runtime Error

Solution code:
K,X = map(int, input().split(" "))
x_min = X-K+1
x_max = X+K-1
r = [i for i in range(x_min,x_max+1)]
print(" ".join(r))

Submission status: Runtime Error

Solution code:
K,X = map(int, input().split(" "))
x_min = X-K+1
x_max = X+k-1
r = [i for i in range(x_min,x_max+1)]
print(" ".join(r))

Submission status: Runtime Error

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

for i in range(x-k-1,x+k-1)
	print(i)

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split())
for i in range(X - K + 1, X + K):
if i < X + K - 1:
print(i, end=' ')
else:
print(i)

Submission status: Runtime Error

Solution code:
 K, X = map(int, input().split())
 for i in range(X - K + 1, X + K):
 if i < X + K - 1:
 print(i, end=' ')
 else:
 print(i)

Submission status: Runtime Error

Solution code:
N,X = map(int,input().split())
for i in range(max(−1000000,X-N+1),min(X+N,1000001)):
    print(i)

Submission status: Runtime Error

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

# スペース区切りの整数の入力
K, X = map(int, input().split())

for i in range(X-K+1, X+K):
    print(f'{i} ', end="")

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split())
 
minus = K - 1
list = []
for i in Range(test):
  list.append(X - (K - i))
  
list.append(X)
 
for j in Range(plus):
  list.append(X + j)
  
for aaa in list:
  print(aaa + " ")

Submission status: Runtime Error

Solution code:
import numpy as np
firstline=input().split()
K=int(firstline[0])
X=int(firstline[1])
blackstone=np.arange(X-K+1,X+K)
array_info(blackstone)

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split())
 
minus = K - 1
 
for i in Range(test):
  print(X - (K - i))

plus = minus + 1

for j in Range(plus):
  print(X + j)

Submission status: Runtime Error

Solution code:
n = 1000001
k = int(input())
x = int(input())

for i in range(x-k+1, x+k-1):
    if -n < i and i < n:
        print(i)

Submission status: Runtime Error

Solution code:
K, X = map(int, input().split())
 
test = K - 1
 
for i in Range(test):
  print(X - (K - i))


test = test + 1  

for j in Range(test):
  print(X + j)

Submission status: Runtime Error

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

max = K - 1

for i in Range(max):
  print(X - (K - i))

print(X)

for j in Range(max - 1):
  print(X + j + 1)

Submission status: Runtime Error

Solution code:
N,X = map(int,input().split())
for i in range(max(−1000000,X-N+1),max(X+N,1000001)):
    print(i)

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
black = list(range(x-k+1, x+k)
new_black = [i for i in black if abs(i) <= 1000000]
print(new_black)

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
black = list(range(x-k+1, x+k-1)
new_black = [i for i in black if abs(i) <= 1000000]
print(new_black)

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
print(' '.join(list(range(x-k+1, x+k))))

Submission status: Runtime Error

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

k = int[0]
x = int[1]

p = range(x + 1 - k,x + k)

print(list[p])

Submission status: Runtime Error

Solution code:
i = list(map(int,input().split()))
K = i[0]
X = i[1]
print(int(range(X-K+1,X+K)))

Submission status: Runtime Error

Solution code:
kx=list(map(int,input().split()))
k=kx[0]
x=kx[1]
a=x+1-k
b=x+k-1
print(a b)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
t=[i for i in range(x-k+1,x+k-1)]
print(" ".join(t))

Submission status: Runtime Error

Solution code:
i = list(map(int,input().split()))
K = i[0]
X = i[1]
print(range(X-K+1,X-K-1)

Submission status: Runtime Error

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

k=int.pop(0)
x=int.pop(1)

p=range((x+1)-k,x+k)

print(p)

Submission status: Runtime Error

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

start = x - k + 1
last = x + k - 1

result = []
result.append(start)

for i in range(1, last - start + 1):
    result.append(start + i)
for i in result:
    if i == start:
	output = str(i)
    else:
        output = output + " " + str(i)

print(output + "\n")

Submission status: Runtime Error

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

start = x - k + 1
last = x + k - 1

result = []
result.append(start)

for i in range(1, last - start + 1):
    result.append(start + i)
for i in result:
    if i == start:
	output = str(i)
    else:
        output = output + " " + str(i)
print(output)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

start = x - k + 1
last = x + k - 1

result = []
result.append(start)

for i in range(1, last - start + 1):
    print(i)
    result.append(start + i)
for i in result:
    if i == start:
	output = str(i)
    else:
        output = output + " " + str(i)
print(output)

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
if x-k <= -1000000:
    print(*list(range(-1000000, x+k), sep=" "))
elif x+k >= 1000000:
    print(*list(range(x-k+1, 1000000), sep=" "))
else:
    print(*list(range(x-k+1, x+k), sep=" "))

Submission status: Runtime Error

Solution code:
k, x = map(int, input().split())
for i in range(2*k-1):
    black = x-k+i
    if abs(black) =< 1000000:　
    　　　　print(black)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
x, k = map(int, raw_input().split())

for i in range(x-(k-1),x+k):
    print (str(i) + " " ,end="")

Submission status: Runtime Error

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

K = S[0]
X = S[1]


A = abs(X-K)+1
B = X+K

if i in range(A, B, 1):
  print(i, end="")

Submission status: Runtime Error

Solution code:
k,x = list(map(int, input().split()))
posi = [p for p in range(x-k+1, x+k-1)]
print(' '.join(posi))

Submission status: Runtime Error

Solution code:
num = input().split()
a, b = int(num[0]), int(num[1])
tmp = []
for i in range(b-a+1,b+a):
  tmp.append(i)
print(' '.join(tmp))

Submission status: Runtime Error

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

min = b - (a - 1)
max = b + (a - 1)

output = ''
for i in range(min, (max+1)):
  output += (i + ' ')

output.rstrip()

print(output)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(k):
	print(x+i-k+1,end="")
if k != 1:
	print(" ",end="")
	for s in range(k)[1:]:
    	print(x+s,end="")

Submission status: Runtime Error

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

min = b - (a - 1)
max = b + (a - 1)

output = ''
for i in range(min, (max+1)):
  output += f'{i} '

output.rstrip()

print(output)

Submission status: Runtime Error

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

min = b - (a - 1)
max = b + (a - 1)

output = ''
for i in range(min, max):
  output += f'{i} '

output.rstrip()

print(output)

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(k)
	print(x+i-k+1,end="")
if k != 1:
	print(" ",end="")
	for s in range(k)[1:]
    	print(x+s,end="")

Submission status: Runtime Error

Solution code:
lines = input().split(" ")
K = int(lines[0])
X = int(lines[1])
arr = []

if K == 1:
  print(X)
else:
  for i in range(X , X + K):
    arr.append(i)
    
  for j in range(X - K + 1 , X):
    arr.append(j)
    
arr.sort()
print(arr.join(" "))

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(k)
	print(x+i-k+1,end="")
if k!=1:
	print(" ",end="")
	for i in range(k)[1:]
    	print(x+i,end="")

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
for i in range(k)
	print(x+i-k+1,end="")
if k!=i:
	print(" ",end="")
	for i in range(k)[1:]
    	print(x+i,end="")

Submission status: Runtime Error

Solution code:
#include<iostream>
using namespace std;
int main(){
  int k,x,a,b;
  scanf("%d %d",&k,&x);
  if(-1000000<x-k+1){
    a=x-k+1;
  }
  else{
    a=-1000000;
  }
  if(1000000>x+k-1){
    b=x+k-1;
  }
  else{
    b=1000000;
  }
  for(int i=a;i<b;i++){
  cout<<i<<" ";
  }
  cout<<b<<endl;
}

Submission status: Runtime Error

Solution code:
lis = input(" ")

K = int(lis[0])
X = int(lis[1])

mini = X - (K - 1)
maxm = X + (K - 1)
list_a = []
for i in range(0, (K - 1) * 2 + 1):
    list_a.append(str((X - (K - 1)) + i))

print(" ".join(list_a))

Submission status: Runtime Error

Solution code:
import numpy as np
k,x = map(int,input().split())

result = np.linspace(x-k+1,x+k-1,k*2-1,dtype = 'int')

for i in range(k*2-1):
    print(str(result[i]),end = " ")

Submission status: Runtime Error

Solution code:
k,x=map(int,input().split())
a=x-k+1
b=x+k-1
a=max(a,-1000000)
b=min(b,1000000)
c=[k for k in range(a,b+1)]
c=' '.join(c)
print(c)

Submission status: Runtime Error

Solution code:
K,X=map(int,input().split())
for i in range (X-K+1,X+K-1)
    print(i)

Submission status: Runtime Error

Solution code:
import numpy as np
k,x = map(int,input().split())

result = np.linspace(x-k+1,x+k-1,k*2-1,dtype = 'int')

for i in range(k*2-1):
    print(str(result[i]),end = "　")

Submission status: Runtime Error

Solution code:
k, x = [int(i) for i in input().split()]
minimum = 1_000_000 - k + 1 if x + k - 1 > 1_000_000 else max(x - k + 1, -1_000_000)
maximum = -1_000_000 + k - 1 if x - k - 1 < -1_000_000 else min(x + k - 1, 1_000_000)
print(*range(minimum, maximum + 1))

Submission status: Runtime Error

Solution code:
K, X = input().split()
K, X = int(K), int(X)
print(' '.join([i for i in range(X-K+1, X+K)]))

Submission status: Runtime Error

Solution code:
import numpy as np
k,x = map(int,input().split())

result = np.linspace(x-k+1,x+k-1,k*2-1,dtype = 'int')

for i in range(k*2-1):
    print(result[i],end = "　")

Submission status: Runtime Error

Solution code:
k,n=input().split()
a=""
for i in range(2*n+1):
  a+="n-k+i"+" "
print(a)