#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
const int INF = 1e9;
const int MAX_V = 1e5 + 5;
const int MAX_N = 1e5 + 5;
const double PI = acos(-1);
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans;
  long long compliment;
  if (s == 1) {
    compliment = 1e9;
  } else {
    compliment = s + 1;
  }
  for (int i = 0; i < (int)(n); i++) {
    if (i < k)
      ans.push_back(s);
    else
      ans.push_back(compliment);
  }
  for (int i = 0; i < (int)(n); i++) cout << ans[i] << " ";
  cout << endl;
  return 0;
}
