N,K,F = map(int, input().split()) eat = N*K - sum(map(int, input().split())) print (-1) if eat < 0 else (eat)