subsets, remove element, valid number