#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 1001001001;
const int MOD = 1000000007;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> A(N, INF);
  for (int i = 0; i < (int)(K); i++) {
    A[i] = S;
  }
  for (int i = 0; i < N; i++) {
    if (i) cout << " ";
    cout << A[i];
  }
  cout << endl;
  return 0;
}
