#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int MAX_V = 1e9;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (s == MAX_V) {
    for (int i = 0; i < k; i++) cout << s << " ";
    for (int i = 0; i < n - k; i++) cout << 1 << " ";
  }
  for (int i = 0; i < n; i++) {
    for (int i = 0; i < k; i++) cout << s << " ";
    for (int i = 0; i < n - k; i++) cout << MAX_V << " ";
  }
  return 0;
}
