The Forest of Taker Trees

Problem Name:
The Forest of Taker Trees
Site:HackerEarth
Links:
Tags:
Problem setters: