Analysis of a bank's balance sheet and the development of the algorithm for votes count and winner determination