poj 1703 Find them,catch them 种类并差集