#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int dx[] = {0, 1, 0, -1}, dy[] = {1, 0, -1, 0};
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (n == 1) {
    cout << s << endl;
  } else {
    printf("%d", s);
    k--;
    for (int i = 1; i < n; i++) {
      if (k > 0 && i + 1 < n) {
        printf(" %d", s);
        k--;
      } else {
        if (s + 1 <= 1000000000)
          printf(" %d", s + 1);
        else
          printf(" %d", s - 1);
      }
    }
    printf("\n");
  }
  return 0;
}
