Find the perfect squares from the list