      PROGRAM piyo
      IMPLICIT NONE
      integer(16) :: n,x,y
      integer(16),allocatable :: table(:,:)
      integer(16) :: i,j,k
      integer(16),allocatable :: ans(:)
      
      
      read*,n,x,y
      allocate( table(n,n),ans(n) )
      table = n*10
      ans = 0
      do i = 1,n-1
        do j = i+1,n
          if( i<=x .or. j>=y )then
            table(i,j) = min( j-i,abs(x-i) + 1 + abs(j-y) )
          else
            table(i,j) = j-i
          end if
          
          ans(table(i,j)) = ans(table(i,j)) + 1
        end do
      end do
      
      do k = 1,n-1
        print*,ans(k)
      end do
      
      do i = 1,n
      !  print*,table(i,:)
      end do
      
      END PROGRAM