#include <bits/stdc++.h>
using namespace std;
const int N = 1000000;
const long long mod = 1000000007;
using Graph = vector<vector<int>>;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long int i = 0; i < n; i++) {
    if (i < k)
      cout << s << " ";
    else {
      if (i != n - 1)
        cout << s + 1 << " ";
      else
        cout << s + 1;
    }
  }
  cout << endl;
}
