#include <bits/stdc++.h>
using namespace std;
typedef struct node {
  int a;
  int b;
} node;
int cmp(node n1, node n2) { return n1.a < n2.a; }
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0)
    ;
  else {
    for (int i = 1; i <= n; i++) {
      if (i <= k)
        cout << s;
      else
        cout << s - 1;
      if (i != n) cout << " ";
    }
  }
}
