(let ((n (read))
      (k (read))
      (s (read)) a)
     (if(eq k 0)
        (loop
         repeat n
         do(push
            (if(eq s 1e9)
               (1- 1e9) 1e9)))
      (if(eq k 1)
         (loop 
          for i below n
          if(eq i 0)
          do(push s a)
          else
          (push
           (if(eq s 1e5)
              (1- 1e5) 1e5)))
       (loop
       for i below n
       if(eq i 0) 
       do(push s a)
       else if (eq i (- k 1))
       do (push 
           (if(eq s 1e9) 1 1e9) a)
       else (push 0 a)
     )))
     
     (loop
      for i below n
      if(eq i 0)
      do (printc(nth i))
      else(progn
            (princ" ")
           (princ(nth i))
      
      ))
