# coding=utf-8 K, N, F = map(int, input().split()) A = list(map(int, input().split())) ans = K * N - sum(A) if ans >= 0: print(ans) else: print('-1')