K,N,F = map(int,input().split()) KN = K * N sumF = sum(map(int,input().split())) print(max(-1,KN-sumF))