read N X Y
for i in `seq 1 $[N-1]`;do
 c[i]=0
done
for i in `seq 1 $N`;do
 ex=$[(i<X?X-i:i-X)+1]
 for j in `seq $[i+1] $N`;do
  d=$[j-i]
  e=$[ex+(j<Y?Y-j:j-Y)]
  : $[c[d<e?d:e]++]
 done
done
echo ${c[@]}