Complex sentence: In total, 31 candidates put their names forward, though three of them were disqualified immediately for failing to meet the legal requirements.
Split into simpler sentences: In total, 31 candidates put their names forward. However, three of them were disqualified immediately for failing to meet the legal requirements.