If →a,→b,→c are three vectors of equal magnitude and the angle between each pair of vectors is π3 such that ∣∣→a+→b+→c∣∣=√6 then |→a| is equal to