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