k, n , f = map(int, input().split()) ages = map(int, input().split()) total_beans = k * n for i in range(n): total_beans -= ages[i] if total_beans < 0: print('-1') print(total_beans)