Descriptions:

The Pleasant Walk

CodeForces - 1090M