k,n,f = map(int,input().split()) a = map(int,input().split()) b = k*n for i in a: b -= i if b < 0: print(-1) else: print(b)