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