how to get only the integers from a list

I want to get only the integers from this list. 

I thought of comparing two lists together and find a way to get these integers by finding the similar numbers in both lists, but I don't know how to do that. 

for example index 1 is similar in both lists so I want to get it, however, index 3 is different in both lists so I don't want it.