K,N,F=map(int,input().split()) A=list(map(int,input().split())) if sum(A)>K*F: print(-1) else: print(K*F-sum(A))