K, N, F = map(int, input().split(' ')) As = list(map(int, input().split(' '))) r = K*N - sum(As) if r < 0: print(-1) else: print(r)