n,d,k=map(int,input().split()) A=list(range(1,k+1)) while sum(A)