#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, k, s, flag = 0, count = 0;
  scanf("%d %d %d", &n, &k, &s);
  if (s != 0) {
    for (i = 0; i < n; i++) {
      if (count != k) {
        if (flag == 0)
          printf("%d", s), flag = 1;
        else
          printf(" %d", s);
        count++;
      } else {
        if (flag == 0)
          printf("%d", s + 10086), flag = 1;
        else
          printf(" %d", s + 10086);
      }
    }
  }
  return 0;
}
