#include <bits/stdc++.h>
using namespace std;
long long ans;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long N, K, S;
  cin >> N >> K >> S;
  long long cnt = 0;
  for (long long i = 0; i < (long long)(K); ++i) {
    if (cnt != N - 1) {
      cout << S << " ";
      cnt++;
    } else {
      cout << S << endl;
    }
  }
  long long nots;
  if (S == 10e9) {
    nots = 1;
  } else {
    nots = S + 1;
  }
  for (long long i = 0; i < (long long)(N - K); ++i) {
    if (cnt != N - 1) {
      cout << nots << " ";
      cnt++;
    } else {
      cout << nots << endl;
    }
  }
  return 0;
}
