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