#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int cnt = 0;
  for (int i = 0; i < (n); ++i) {
    while (k != cnt) {
      cout << s << " ";
      cnt++;
      i++;
    }
    if (n != cnt) cout << 1 << " ";
  }
  cout << endl;
}
