n = input()    
m = n.split()
p = [int(i) for i in m]
a = []
for i in range(p[0]):
    if i <= p[1]:
        if i%2 == 0:
            a.append(str(1))
        else:
            a.append(str(p[2]-1))
    else:
        a.append(str(p[2]+1))
A = " ".join(a)
print(A)