The optimal answer of the algorithm for different iterations