#include <bits/stdc++.h>
using namespace std;
using lint = long long;
using ld = long double;
using ulint = unsigned long long;
const int dx[] = {1, 0, -1, 0};
const int dy[] = {0, 1, 0, -1};
constexpr lint mod = 1000000007;
constexpr long double pi = 3.141592653589793238462643383279;
int main() {
  lint n, k, s;
  cin >> n >> k >> s;
  if (s >= (int)pow(10, 9)) {
    for (int i = 0; i < n; i++) {
      if (i < k)
        cout << s;
      else
        cout << s - 1;
      if (i == n - 1) {
        cout << endl;
        break;
      } else
        cout << ' ';
    }
  }
  for (int i = 0; i < n; i++) {
    if (i < k)
      cout << s;
    else
      cout << s + 1;
    if (i == n - 1) {
      cout << endl;
      break;
    } else
      cout << ' ';
  }
  return 0;
}
