#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const long long INF = 1LL << 60;
using Graph = vector<vector<long long>>;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (int)(k); i++) cout << s << " ";
  for (int i = 0; i < (int)(n - k); i++) cout << s + 1 << " ";
  cout << endl;
}
