p">(</span><span class="n">tid</span><span class="p">,</span> <span class="n">pair</span><span class="o">.</span><span class="n">quantity</span><span class="p">,</span> <span class="n">remainingUtility</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
                    <span class="k">else</span><span class="p">:</span>
                        <span class="k">if</span> <span class="n">lastTIDs</span><span class="p">[</span><span class="n">pair</span><span class="o">.</span><