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