import itertools as i n,d,k=map(int,input().split()) for p in i.permutations(range(1,n+1),k): if sum(p)==d:print(*p);break else:print(-1)