k, n, f = map(int, input().split()) ans = k*n - sum(map(int, input().split())) print(ans if ans >= 0 else -1)