Iterates over every int in the list using the provided action.
action
If the list's content type is not INT.