# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ K,N,F = map(int, input().split()) A = list(map(int, input().split())) mame_num = K*N eaten = sum(A) print(mame_num - eaten) if mame_num-eaten>=0 else print(-1)