pan class="p">:</span>
            <span class="n">values</span> <span class="o">=</span> <span class="p">[</span><span class="n">branch</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span> <span class="k">for</span> <span class="n">branch</span> <span class="ow">in</span> <span class="n">branches</span><span class="p">]</span>
        <span class="n">top_branch</span> <span class="o">=</span> <span class="n">values</span><span class="o">.</span><span class="n">index</span><span c