If z2+z+1=0, where z is a complex number, then the value of (z+1z)2+(z2+1z2)2+(z3+1z3)2+....+(z6+1z6)2 is