#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 1; i <= (long long)(n); i++) {
    if (i <= k + 1) {
      if (i % 2 == 1) {
        if (i == 1) {
          cout << s - 1;
        } else {
          cout << " " << s - 1;
        }
      } else {
        cout << " " << 1;
      }
    } else {
      cout << " " << 1e9;
    }
  }
  cout << endl;
  return 0;
}
