#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const int INF = 1000000;
const double PI = 3.14159265359;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < (n); i++) {
    if (i < k) {
      cout << s << " ";
    } else {
      if (s == 1e9)
        cout << s - 1 << " ";
      else if (s == 1)
        cout << 10 << " ";
      else
        cout << 1 << " ";
    }
  }
  cout << endl;
  return 0;
}
