ttom attached segment font-content"><div style="position: relative; overflow: hidden;"><div>
<div>Bessie and her friends are playing hoofball in the annual Superbull championship, and Farmer John is</div>
<div>&nbsp;in charge of making the tournament as exciting as possible. A total of N (1 &lt;= N &lt;= 2000) teams are</div>
<div>&nbsp;playing in the Superbull. Each team is assigned a distinct integer team ID in the range 1...2^30-1&nbsp;</div>
<div>to distinguish it from the other teams. The Superbull