#include <bits/stdc++.h>
using namespace std;
template <typename T>
void read(T &x) {
  x = 0;
  char ch = getchar();
  long long f = 1;
  while (!isdigit(ch)) {
    if (ch == '-') f *= -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = x * 10 + ch - 48;
    ch = getchar();
  }
  x *= f;
}
int n, k, s;
int main() {
  read(n);
  read(k);
  read(s);
  for (int i = 0; i < k; i++) {
    cout << s << ' ';
  }
  for (int i = 0; i < n - k; i++) {
    cout << s + 1 << ' ';
  }
  cout << endl;
  return 0;
}
