K, N, F = list(map(int, input().split())) A = list(map(int, input().split())) m = K * N t = sum(A) if m >= t: print(m - t) else: print(-1)