Let n(n≥2) be an integer. Find the greatest possible value of the expression E=1+a12a1+1+a22a2+…+1+an2an if the positive real numbers a1,a2,…,an satisfy a1+a2+…+an=2n. What are the values of a1,a2,…,an when the greatest value is achieved?