#include <bits/stdc++.h>
const int INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fLL;
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= (k); i++) {
    cout << s;
    if (i != n) {
      cout << " ";
    }
  }
  for (int i = k; i <= n; i++) {
    cout << s - 1;
    if (i != n) {
      cout << " ";
    }
  }
  cout << '\n';
  return 0;
}
