Nations ranking in scientific competition: Countries get what they paid for