#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const long long INF = 0x3f3f3f3f3f3f3f3fll;
inline int read() {
  int ret = 0, sgn = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') sgn = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    ret = ret * 10 + ch - '0';
    ch = getchar();
  }
  return ret * sgn;
}
const int maxn = 1005;
int main() {
  std::ios::sync_with_stdio(false);
  int n, m, sum;
  cin >> n >> m >> sum;
  int tmp = n - m;
  int k = n - tmp - 1;
  for (int i = 1; i <= tmp; ++i) {
    cout << 1 << " ";
  }
  cout << sum - tmp << " ";
  for (int i = 1; i <= k; ++i) {
    cout << sum << " ";
  }
  cout << endl;
  return 0;
}
