#include <bits/stdc++.h>
int64_t inf = 1000000007;
int64_t giant = 4000000000000000037;
using namespace std;
int n, k, s;
void input() { cin >> n >> k >> s; }
int main() {
  input();
  cout << s;
  for (int i = 1; i < k; i++) {
    cout << " " << s;
  }
  if (s == 1000000000) s -= 2;
  for (int i = k; i < n; i++) {
    cout << " " << s + 1;
  }
  cout << endl;
  return 0;
}
