Bear and Forgotten Tree 3

Problem Name:
Bear and Forgotten Tree 3
Site:CodeForces
Links:
Tags:
Problem setters: