#include <bits/stdc++.h>
const double PI = 3.14159265359;
const int INF = (int)1e9;
const long long LINF = 1e18;
const int IMOD = 1000000007;
const int dx[4] = {1, 0, -1, 0};
const int dy[5] = {0, 1, 0, -1};
using namespace std;
int main(void) {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (int)(n); i++) {
    if (i < k) {
      cout << s << " " << endl;
    } else {
      cout << s + 1 << " " << endl;
    }
  }
  return 0;
}
