For 1≤i≤215 let ai=2i1 and a216=22151. Let x1,x2,...,x216 be positive real numbers such that ∑i=1216xi=1 and ∑1≤i<j≤216xixj=215107+∑i=12162(1−ai)aixi2. The maximum possible value of x2=nm, where m and n are relatively prime positive integers. Find m+n.