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