k,n,f = map(int, raw_input().split()) s = sum(map(int, raw_input().split())) print k*n-s