Title: The allocation of primary school leavers to courses of secondary education