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