N,*A=map(int,open(0).read().split());print((N+sum(A))/2)