#include <bits/stdc++.h>
using namespace std;
using P = pair<int, int>;
const int MOD = 1000000007;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(n, 1);
  for (int i = 0; i < (k); ++i) {
    a[i] = s;
  }
  for (int i = 0; i < (n); ++i) {
    cout << a[i] << " ";
  }
  cout << endl;
}
