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