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