#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, k, s;
  cin >> n >> k >> s;
  if (k == n) {
    for (int i; i < n; i++) {
      cout << s << " ";
    }
    cout << endl;
  } else {
    vector<int> ans(n, 0);
    if (s > 5) {
      for (int i = 0; i < k + 1; i = i + 2) {
        ans[i] = s - 1;
      }
      for (int j = 1; j < k + 1; j = j + 2) {
        ans[j] = 1;
      }
      for (int p = k + 1; p < n; p++) {
        ans[p] = s - 2;
      }
    } else {
      for (int y = 0; y < k; y++) {
        ans[y] = 1;
      }
      for (int z = k; z < n; z++) {
        ans[z] = 100;
      }
    }
    for (int x; x < n; x++) {
      cout << ans[x] << " ";
    }
    cout << endl;
  }
}
