n,x,y=list(map(int,input().split()))

l=[0]*~-n

for i in range(1,n):

 for j in range(i):l[min(~j+i,abs(~j+x)+abs(~i+y))]+=1

print((*l))
n,x,y=list(map(int,input().split()))

c=[0]*~-n

for i in range(n):

 for j in range(i):c[min(~j+i,abs(~j+x)+abs(~i+y))]+=1

print((*c))
n, x, y = list(map(int, input().split()))
l = [0] * ~-n
for i in range(1, n):
    for j in range(i):
        l[min(~j + i, abs(~j + x) + abs(~i + y))] += 1
print((*l))

n, x, y = list(map(int, input().split()))
c = [0] * ~-n
for i in range(n):
    for j in range(i):
        c[min(~j + i, abs(~j + x) + abs(~i + y))] += 1
print((*c))

-l = [0] * ~-n -for i in range(1, n): +c = [0] * ~-n +for i in range(n): -        l[min(~j + i, abs(~j + x) + abs(~i + y))] += 1 -print((*l)) +        c[min(~j + i, abs(~j + x) + abs(~i + y))] += 1 +print((*c))