program main
      implicit none
      integer(4) :: n, x, y, k
      integer(4) :: i, j, k1, k2, k3
      integer(4), allocatable :: d(:)

      read(*,*) n, x, y

      allocate( d(n-1) )
      d(:) = 0
      do i = 1, n-1
        do j = i+1, n
          k1 = abs(i-j)
          k2 = abs(i-x) + 1 + abs(j-y)
          k3 = abs(i-y) + 1 + abs(j-x)
          k = min(k1,k2,k3)
          d(k) = d(k) + 1
        end do
      end do

      do k = 1, n-1
        print *, d(k)
      end do
end program main
