#include <bits/stdc++.h>
using namespace std;
int N, K, S;
int main() {
  cin >> N >> K >> S;
  vector<int> A;
  for (int(i) = 0; (i) < (N); (i)++) {
    if (S != 1) {
      if (K > i)
        A.push_back(S);
      else if (K == i)
        A.push_back(1);
      else
        A.push_back(0);
    } else {
      if (K > i)
        A.push_back(S);
      else if (K == i)
        A.push_back(10);
      else
        A.push_back(0);
    }
  }
  for (int(i) = 0; (i) < (N); (i)++) {
    cout << A[i] << " ";
  }
  cout << endl;
  return 0;
}
