k,n,f = map(int,input().split()) res = k * n - sum(list(map(int,input().split()))) if res<0: print(-1) else: print(res)