def main():
    from sys import stdin, setrecursionlimit
    setrecursionlimit(10**10)
    r = stdin.readline()[:-1]
    #n = int(stdin.readline()[:-1])   
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    #r = [int(stdin.readline()) for i in range(3)]
    
    a = list(map(int, r.split()))
    n = a[0]
    k = a[1]
    s = a[2]

    res = [s+1]*n
    for i in range(k):
        res[i] = s
    print(*res)

    #'Yes', 'No', 'YES', 'NO', ':(', 'Yay!'
    #res = 0
    #a, b = map(int, r.split())
    #print()

if __name__ == '__main__':
    main()

