I assume most countries picked the best candidates for their teams, as mathematical aptitude is relatively easy to quantify. If it wasn't the competition would have no meaning. Congratulating Ukraine and Bosnia for this like it's some heroic sacrifice is odd. These girls were the best choice for their teams so they were picked. I don't see much more to it than that.