Question: Elements of a set

Is there any way that I can get MAPLE to check through an ordered set and return the first integer value? So if the set were; {2,x,h} it would return 2 {r,h,x} it would return () {3,4,5} it would return 3
Please Wait...