#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
int main() {
  i64 n, k, s;
  cin >> n >> k >> s;
  for (i64 i = 0; i < k; i++) cout << s << (i + 1 == n ? "\n" : " ");
  for (i64 i = k; i < n; i++) cout << (i64)1e9 + 1 << (i + 1 == n ? "\n" : " ");
  return 0;
}
