K, N, F = map(int, input().split()) s = 0 a = list(map(int, input().split())) res = (K * N) - sum(a) print( res if res > 0 else -1)