SRM 515 DIV 2 200

Solved in 15 min :)