#include <bits/stdc++.h>
const double PI = 3.1415926535897931;
const long long mod = 1e9 + 7;
const int MA = 1e6 + 10;
const int ma = 2 * 1e5 + 10;
const int few = 1e3 + 10;
const int maxn = 1e8 + 10;
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s << ' ';
  }
  for (int i = 0; i < n - k; i++) cout << s + 1 << ' ';
  cout << endl;
  return 0;
}
