#include <bits/stdc++.h>
using namespace std;
long long N, K, S;
int main() {
  cin >> N >> K >> S;
  long long A[N];
  for (int i = 0; i < K; i++) A[i] = S;
  for (int i = K; i < N; i++) A[i] = S - 1;
  for (int i = 0; i < N; i++) cout << A[i];
  cout << endl;
}
