Wentao Wang's submission of Sereja and Arcs | CodeChef