k,n,f = map(int,input().split( )) total_age = sum(map(int,input().split())) if total_age <= k*n: print(k*n - total_age) else: print(-1)