#include <bits/stdc++.h>
using namespace std;
template <class T>
inline T updmax(T& a, T b) {
  return a = max(a, b);
}
template <class T>
inline T updmin(T& a, T b) {
  return a = min(a, b);
}
class Solution {
 public:
  void solve() {
    int n, k, s;
    cin >> n >> k >> s;
    vector<int> a(n, 0);
    for (int i = 0; i < k; i++) a[i] = s;
    for (int i = k; i < n; i++) a[i] = s - 1;
    for (int i = 0; i < n; i++) cout << a[i] << " ";
    cout << "\n";
    return;
  };
};
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  Solution solution;
  solution.solve();
  return 0;
}
