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