#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
const double pi = acos(-1);
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  if (K == N) {
    for (int i = 0; i < (N); i++) {
      if (i != 0) {
        cout << " ";
      }
      cout << S;
    }
    cout << endl;
    return 0;
  }
  for (int i = 0; i < (N); i++) {
    if (i != 0) {
      cout << " ";
    }
    if (i < K) {
      cout << S;
      continue;
    }
    if (i == K) {
      cout << 1;
      continue;
    }
    cout << 0;
  }
  return 0;
}
