K,N,F=map(int,input().split()) l = list(map(int, input().split())) s=K*N for i in l: s-=i if s<0: print(-1) else: print(s)