#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, i, j, k, n, s, m, x, y, ans = 0;
  string str;
  cin >> n >> k >> s;
  if (s < 1000000000) {
    cout << s;
    for (i = 1; i < k; i++) {
      cout << " " << s;
    }
    for (; i < n; i++) {
      cout << " " << s + 1;
    }
    cout << endl;
  } else {
    cout << s;
    for (i = 1; i < k; i++) {
      cout << " " << s;
    }
    for (; i < n; i++) {
      cout << " " << 1;
    }
    cout << endl;
  }
}
