Bear and Two Paths

Problem Name:
Bear and Two Paths
Site:CodeForces
Links:
Tags:
Problem setters: