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