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