Optimal Design Of Research Contests To Enter