Filtering non-zero elements of a stream Write a stream pipeline that filters non-zero elements of a stream.