A special case of Subset Problem