program line
implicit none

integer :: n, x, y, i, j, k
integer, allocatable :: a(:)

read *, n, x, y
allocate(a(n-1)) 
a = 0

do i = 1, n-1
   do j = i+1, n
      k = min(j-i, abs(x-i)+1+abs(y-j))
      a(k) = a(k) + 1
   end do
end do

do k = 1, n-1
   print *, a(k)
end do

deallocate(a)

stop
end program line
      