x,y,z=map(int,input().split()) a=map(int,input().split()) total=sum(a) if total