def main(): K, N, F = map(int, input().split()) A = tuple(map(int, input().split())) beans = K * N - sum(A) print(max(-1, beans)) main()