#include <bits/stdc++.h>
using namespace std;
using in = int64_t;
const double PI = 3.14159265358979323846;
const int64_t waru = 1000000007;
const in INF = 1 << 30;
using vec = vector<vector<vector<vector<int>>>>;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (int)(k); i++) {
    cout << s << " ";
  }
  for (int i = k; i < n - 1; i++) {
    cout << 1 << "  ";
  }
  cout << 1;
}
