#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int MOD = 1000000007;
const double PI = acos(-1);
int dx[4] = {0, 1, 0, -1};
int dy[4] = {1, 0, -1, 0};
void solve() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v(n);
  for (int i = 0; i < (k); ++i) {
    v[i] = s;
  }
  int cur = s - 1;
  if (cur == 0) cur == INF;
  for (int i = k; i < n; i++) v[i] = cur;
  for (int i = 0; i < (n); ++i) {
    if (i != 0) cout << " ";
    cout << v[i];
  }
}
int main() {
  solve();
  return 0;
}
