A mineral having formula AB2 crystallises in the cubic close packed lattice, with the A atoms occupying the lattice points. Hence coordination number of A and B atoms are