k, n, f = map(int, input().split()) a = list(map(int, input().split())) ans = k * n for i in a: ans -= i if ans < 0: print(-1) else: print(ans)