#include <bits/stdc++.h>
const int MAX_NUM = 100000000;
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  cout << S;
  for (int i = 2; i <= K; ++i) cout << " " << S;
  for (int j = K + 1; j <= N; ++j) cout << " " << MAX_NUM;
  cout << endl;
  return 0;
}
