Number Filter

A quick learning exercise. It gave me some trouble with the logical order, but a little help from a friend got me through.