The number of main stars in constellation A is 5, in constellation B is 7, in constellation C can be 7 or 8, whereas in constellation D is usually 9. Name the constellations A, B, C and D.