#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= n; i++) {
    if (k > 0) {
      cout << s << " ";
      k--;
    } else {
      cout << 1 << " ";
    }
  }
  cout << endl;
}
