span>
        <span class="k">return</span> <span class="n">T1</span>
    <span class="k">elif</span> <span class="n">T1</span><span class="o">.</span><span class="n">priority</span> <span
                        class="o">&lt;</span> <span class="n">T2</span><span class="o">.</span><span
                        class="n">priority</span><span class="p">:</span>
        <span class="n">T1</span><span class="o">.</span><span class="n">right</span> <span class="o">=</span> <span
                        class="