A group of Martians and a group of Venusians got together for an important talk. At the start of the meeting, each Martian shook hands with 6 different Venusians, and each Venusian shook hands with 8 different Martians. It is known that 24 Martians took part in the meeting. How large was the delegation for Venus?