#include <bits/stdc++.h>
using namespace std;
static const int INTINF = (2147483647);
static const long long LLINF = (9223372036854775807);
static const int MAX = 1e5 + 1;
static const long long MOD = 1e9 + 7;
namespace Printer {
template <class T>
void print(T x) {
  cout << x << endl;
}
template <class T>
void print(T x, T y) {
  cout << x << "," << y << endl;
}
template <class T>
void print(vector<T> v) {
  for (int i = 0; i < (v.size()); ++i) {
    if (i) cout << " ";
    cout << v[i];
  }
  cout << endl;
}
template <class T>
void print(vector<vector<T> > vv) {
  for (int i = 0; i < (vv.size()); ++i) {
    for (int j = 0; j < (vv[i].size()); ++j) {
      if (j) cout << " ";
      cout << vv[i][j];
    }
    cout << endl;
  }
}
void print(pair<int, int> p) {
  cout << "(" << p.first << ", " << p.second << ")" << endl;
}
};  // namespace Printer
using namespace Printer;
int main(int argc, const char* argv[]) {
  long long n, k, s;
  cin >> n >> k >> s;
  long long s_size = n - (k - 1LL);
  vector<long long> a(s_size);
  if (s_size <= s && s_size <= k) {
    for (int i = 0; i < (s_size); ++i) {
      if (i == s_size - 1LL) {
        a[i] = s / s_size + s % s_size;
      } else {
        a[i] = s / s_size;
      }
    }
  } else {
    for (int i = 0; i < (k); ++i) {
      if (i) cout << " ";
      cout << s;
    }
    for (int i = 0; i < (n - k); ++i) {
      cout << " ";
      cout << LLINF;
    }
    cout << endl;
    return 0;
  }
  long long now = 0LL;
  for (int i = 0; i < (n); ++i) {
    if (i) cout << " ";
    cout << a[now];
    now++;
    if (now == s_size) now = 0LL;
  }
  cout << endl;
  return 0;
}
