from itertools import combinations



N, X, Y = list(map(int, input().split()))



A = [0] * N

for i, j in combinations(list(range(1, N + 1)), 2):

    A[min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1)] += 1



for a in A[1:]:

    print(a)
from itertools import combinations

from collections import Counter



N, X, Y = list(map(int, input().split()))



C = Counter(min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1) for i, j in combinations(list(range(1, N + 1)), 2))



print(("\n".join(str(C[k]) for k in range(1, N))))
from itertools import combinations

N, X, Y = list(map(int, input().split()))
A = [0] * N
for i, j in combinations(list(range(1, N + 1)), 2):
    A[min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1)] += 1
for a in A[1:]:
    print(a)

from itertools import combinations
from collections import Counter

N, X, Y = list(map(int, input().split()))
C = Counter(
    min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1)
    for i, j in combinations(list(range(1, N + 1)), 2)
)
print(("\n".join(str(C[k]) for k in range(1, N))))

+from collections import Counter -A = [0] * N -for i, j in combinations(list(range(1, N + 1)), 2): -    A[min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1)] += 1 -for a in A[1:]: -    print(a) +C = Counter( +    min(abs(i - j), abs(X - i) + abs(Y - j) + 1, abs(X - j) + abs(Y - i) + 1) +    for i, j in combinations(list(range(1, N + 1)), 2) +) +print(("\n".join(str(C[k]) for k in range(1, N))))