Solution For Algorithmic Allocation Of Pupils In Elementary School