k,n,f = map(int,input().split()) a = map(int,input().split()) b = k*n for i in a: b -= i print(b)