K,N,F = map(int,input().split()) An = list(map(int,input().split())) age = sum(An) beans = K * N if beans < age: print(-1) else: print(beans - age)