#include <bits/stdc++.h>
using namespace std;
const long long inf = 0x3f3f3f3f;
const int maxn = 1e5 + 5;
const long long mod = 1e9 + 7;
template <class T>
void read(T &x) {
  x = 0;
  int f = 0;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    f |= (ch == '-');
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = (x << 1) + (x << 3) + (ch ^ 48);
    ch = getchar();
  }
  x = f ? -x : x;
  return;
}
int main() {
  int n, m, sum;
  cin >> n >> m >> sum;
  for (int i = 0; i < n; ++i) {
    if (m) {
      if (i < n - 1)
        cout << sum << " ";
      else
        cout << sum;
      --m;
    } else {
      if (i < n - 1)
        cout << sum - 1 << " ";
      else
        cout << sum - 1;
    }
  }
  cout << endl;
}
