import functools from operator import add K, N, F = [int(i) for i in input().split()] D = functools.reduce(add, [int(i) for i in input().split()]) print(K*N-D) if K*N-D >= 0 else print(-1)