Question: Choosing integers from a set!

Hi,

    I have this problem and I cannot find a way to perform this search that I want it to. 

I have a set consisting of integers and fractions.  What maple code can I use to select only the integers out of this set.

 

For example:

A:={1,1/2,9,5/2,6/4,8,10,11};

I want to choose only the integers out of this set...so I need to obtain a set with D:= {1,9,8,10,11}.

 

How do I do so?

Any help will be appreciated.

Thanks

Sini

Please Wait...