Greedy SRM 624 - round 1