#include <bits/stdc++.h>
using namespace std;
void solve(void);
void solve(void) {
  int n, m, sum, temp;
  cin >> n >> m >> sum;
  if (n > m) {
    for (auto i = 0; i < n - m; ++i) {
      cout << sum + 1 << " ";
    }
    for (auto i = 0; i < m - 1; ++i) {
      cout << sum << " ";
    }
    if (m) cout << sum;
  } else {
    for (auto i = 0; i < n - m; ++i) {
      cout << "1 ";
    }
    cout << sum - (n - m);
    for (auto i = 0; i < sum - (n - m) - 1; ++i) {
      cout << " " << sum;
    }
  }
  return;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  return 0;
}
