num, n, f = map(int, input().split()) al = list(map(int, input().split())) required = sum(al) if required > num * n: print(-1) else: print(num * n - required )