SRM 477 DIV 1 Easy - Islands: Passed System Test