Nucleosynthesis in multinucleon transfer reactions