   program abc160d
      implicit none
      integer::i,j,k
      integer::n,x,y,d1,d2,low
      integer,allocatable,dimension(:)::d

!refered to "w49b"

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

      do i=1,n-1
         do j=i+1,n
            d1=j-i      ! not use X-Y edge
            d2=abs(x-i)+abs(y-j)+1  !use X-Y edge
            if (d1<d2) then
               low=d1
            else
               low=d2
            end if
            d(low)=d(low)+1
         end do
      end do

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

   end program abc160d