K,N,F = map(int,input().split()) A = list(map(int,input().split())) Total = sum(A) if K * N - Total >= 0 : print(K * N - Total) else : print("-1")