filter pomos from an input