Dependent

I am divorced with two kids, one that turned 19 in 2023, and one that is 22.  Both are in college.  Can I claim one and my ex claim the other and if so, is one better for me to claim?  My ex makes more than I do.