#include <bits/stdc++.h>
using namespace std;
const int N = (int)2e5 + 123, inf = 1e9, mod = 1e9 + 7;
const long long INF = 1e18;
int main() {
  int n, k, second;
  scanf("%d%d%d", &n, &k, &second);
  if (second != inf) {
    for (int i = 0; i < k; i++) printf("%d ", second);
    for (int i = 0; i < k; i++) printf("%d ", second + 1);
  } else {
    for (int i = 0; i < k; i++) printf("%d ", second);
    for (int i = 0; i < k; i++) printf("%d ", second - 1);
  }
}
