(let ((a nil)
      (n (read))
      (k (read))
      (s (read))
      )
      
     (if(eq k 0)
        (loop
         repeat n
         do(push
            (if(eq s 1e9)
               (1- 1e9) 1e9) a))
      (if(eq k 1)
         (loop 
          for i below n
          if(eq i 0)
          do(push s a)
          else
          do
          (push
           (if(eq s 1e5)
              (1- 1e5) 1e5) a))
       (loop
       for i below n
       if(eq i 0) 
       do(push s a)
       else if (eq i (- k 0))
       do (push 
           (if(eq s 1e9) 1 1e9) a)
       else do (push 0 a)
     )))
     
     (loop
      for i below n
      with temp = a
      if(eq i 0)
      do (princ(car temp))
      else do(progn
            (princ" ")
           (princ(car temp))
      do(setq temp(cdr temp))
      )))

     
