#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
vector<long long> dx = {1, -1, 0, 0};
vector<long long> dy = {0, 0, 1, -1};
vector<vector<long long>> g;
long long gcd(const long long& a, const long long& b) {
  if (b == 0) {
    return a;
  }
  return gcd(b, a % b);
}
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  long long n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; ++i) {
    if (i < k) {
      cout << s;
    } else {
      if (s == 1e9) {
        cout << 1;
      } else {
        cout << 1e9;
      }
    }
    if (i != n - 1) {
      cout << " ";
    } else {
      cout << endl;
    }
  }
  return 0;
}
