K,N,F = map(int,input().split()) Old = list(map(int,input().split())) SOY = K*N if (sum(Old) >= SOY): print(sum(Old)-SOY) else: print(-1)