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