#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
long long a[100000];
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long cnt = 0;
  for (long long i = 0; i < n; i++) a[i] = 1e9 - 1;
  for (long long i = 0; i < n; i++) {
    a[i] = s;
    if (++cnt == k) break;
  }
  for (long long i = 0; i < n; i++) {
    cout << a[i];
    if (i != n - 1) {
      cout << " ";
    }
  }
}
