Both the S & P 500 and the Nasdaq indexes have scored three straight weeks of gains .
The S & P 500 and the Nasdaq indexes recorded their third straight week of gains .
the distribution of resources among competing groups people or programs