SRM 597 DIV 2 HARD LittleElephantAndSubset