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