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