Filter Numbers
Filter numbers based on various conditions