THE OPTIMAL ALLOCATION OF PRIZES IN TOURNAMENTS OF HETEROGENEOUS AGENTS. (10th August 2016)