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