n,k,s=map(int,input().split()) cur=1 if k>s or k*(n-1)<s: print("NO") else: print("YES") while k>0: l=min(n-1,s-(k-1)) if(cur>l): cur-=l else: cur+=l print(cur,end=" ") s-=l k-=1 print()
?