#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
int main() {
  int h, w, n;
  cin >> h >> w >> n;
  vector<int> vec(h);
  int many = 0;
  for (int i = 0; i < w; i++) {
    vec[i] = n;
    many++;
  }
  for (int i = many; i < h; i++) {
    vec[i] = n + 1;
  }
  for (int i : vec) {
    cout << i << " ";
  }
  cout << endl;
  return 0;
}
