x,y,z = map(int, input().split()) s = x * y t = sum(map(int, input().split())) if s >= t : print(s-t) else : print(-1)