import sys sys.setrecursionlimit(10 ** 6) def main(): k,n,f=map(int,input().split()) aa=list(map(int,input().split())) ans=k*n-sum(aa) print(max(ans,-1)) main()