K, N, F = map(int, input().split()) a=list(map(int,input().split())) M=K*N P=(sum(a)) if M - P < 0: print(-1) else: print(M - P)