Vlad and the Nice Paths (easy version)

Problem Name:
Vlad and the Nice Paths (easy version)
Site:CodeForces
Links:
Tags:
Problem setters: