#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int n, k;
  long long s;
  scanf("%d%d%lld", &n, &k, &s);
  if (k == n) {
    for (int i = 0; i < k; i++) cout << s << " ";
    cout << endl;
  } else {
    if (s == 1e9) {
      for (int i = 1; i <= k + 1; i++) {
        cout << 1e9 / 2 << " ";
      }
      for (int i = k + 2; i <= n; i++) cout << s - 1 << " ";
    } else {
      for (int i = 1; i <= k; i++) cout << s << " ";
      for (int i = k + 1; k <= n; i++) cout << s + 1 << " ";
    }
    cout << endl;
  }
  return 0;
}
