K, N, F = map(int, input().split(' ')) A = list(map(int, input().split(' '))) H = sum(A) M = K * N - H if M >= 0: print(M) else: print('-1')