#include <algorithm>  
#include <iostream>  
#include <sstream>  
#include <string>  
#include <vector>  
#include <queue>  
#include <set>  
#include <map>  
#include <cstdio>  
#include <cstdlib>  
#include <cctype>  
#include <cmath>  
#include <cstring>
#include <list>  
#include <cassert>
#include <climits>
#include <bitset>
#include <chrono>
#include <random>
 
using namespace std;
     
    int main(){
      int N, K, S;
      cin >> N >> K >> S;
      for(int i=0; i<N; i++){
        if(i<K){
          cout >> S;
        }
        else{
          cout >> 2*S + 1;
        }
      }
      cout >> endl;
    }