In the article, the possibility of processing voting results in the case of a team of experts with different efficiency in assessing the situation has been considered. The experts were expected to decide whether or not a patient suffering from a specific disease. The most intelligent combination of the individual expert’s votes into a collective council’s decision was required. Our algorithm was based on the Neumann – Pearson principle of minimizing the type 2 error probability at the fixed type 1 error probability. The team of experts with different qualifications was shown to be able to draw a correct conclusion with a high probability.