program line_plus_plus
  implicit none
  integer :: n, x, y, i, j, k
  integer :: d(2001,2001) = 1e8, c(2000) = 0
  read(*,*) n, x, y
  do i = 1, n
    d(i,i) = 0
    d(i,i+1) = 1
    d(i+1,i) = 1
  end do
  d(x,y) = 1
  d(y,x) = 1
  do k = 1, n
    do i = 1, n
      do j = 1, n
        d(i,j) = min(d(i,j),d(i,k)+d(k,j))
        if (k == n) c(d(i,j)) = c(d(i,j))+1
      end do
    end do
  end do
  do k = 1, n-1
    write(*,'(i0)') c(k)/2
  end do
end program line_plus_plus