($n,$d,$k)=glob<>;grep(!s/.*\K1/1/,($_=1x$n^3x$k)x($d-$k*($k+1)/2&8191))?print-1:s//print@+,$"/ge