import numpy as np K,N,F = map(int, input().split()) A = [int(F) for F in input().split()] A_sum = np.sum(A) if (K*N