b,bag,f = map(int,input().split()) beans = b*bag ages = sum(map(int,input().split())) if (beans - ages) < 0: print(-1) else: print(beans - ages)