#include <bits/stdc++.h>
const int INF = 2147483647;
const long long int MOD = 1000000007;
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n);
  for (int i = 0; i < n; i++) {
    if (i < k) {
      cout << s;
    } else {
      cout << s + 1;
    }
    cout << (i != n - 1 ? " " : "\n");
  }
}
