#include <bits/stdc++.h>
using namespace std;
const long long MAX = 1000 * 1000;
const int dx[] = {1, -1, 0, 0};
const int dy[] = {0, 0, 1, -1};
const int MOD = 1000 * 1000 * 1000 + 7;
const int N = 301;
const int INF = INT_MAX;
const int M = 200005;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; ++i) cout << s << " ";
  for (int i = k + 1; i <= n; ++i) cout << ((s == 1e9) ? 1 : 1e9) << " ";
  return 0;
}
