SRM 582 DIV1 MEDIUM