import sys
input = sys.stdin.readline
sys.setrecursionlimit(10000000)
from collections import defaultdict
from bisect import *
mod = 10**9+7

N, K, S = map(int, input().split())
A = [S]*K + [S+1]*(N-K)
print(*A)
