program abc160d
  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(i-x)+abs(j-y)+1)
        a(k) = a(k) + 1
     end do
  end do
  print *, a
end program abc160d
