#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const long long MOD = 1e9 + 7;
const long long INF = 1LL << 60;
using Graph = vector<vector<int>>;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (s != 1e9) {
    for (int i = 0; i < k; i++) cout << s << " ";
    for (int i = 0; i < n - k; i++) {
      if (i) cout << " ";
      cout << s + 1;
    }
    cout << endl;
  } else {
    for (int i = 0; i < k; i++) cout << s << " ";
    for (int i = 0; i < k; i++) {
      if (i) cout << " ";
      cout << 1;
    }
    cout << endl;
  }
  return 0;
}
