#include <bits/stdc++.h>
using namespace std;
class abc {
 public:
  long long int l, r;
};
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, k, s;
  cin >> n >> k >> s;
  {
    for (long long int i = 0; i < k; i++) {
      cout << s << " ";
    }
    for (long long int i = 0; i < n - k; i++) {
      cout << s + 1 << " ";
    }
    return 0;
  }
}
