#include <bits/stdc++.h>
using namespace std;
int64_t INF = 1e18;
int64_t mod = 1e9 + 7;
typedef struct {
  double y, x;
} p_t;
int main() {
  int64_t n, k, s;
  cin >> n >> k >> s;
  for (int64_t i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (int64_t i = k; i < n; i++) {
    cout << INF << " ";
  }
  cout << endl;
  return 0;
}
