#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  if (S == 1000000000) {
    return 0;
  }
  for (int i = 0; i < (K); i++) {
    cout << S << " ";
    if (i == N - 1) cout << endl;
  }
  for (int i = 0; i < (N - K); i++) {
    if (S == 1000000000)
      cout << 1 << " ";
    else
      cout << S + 1 << " ";
  }
  cout << endl;
  return 0;
}
