B. Beggin' For A Node time limit per test2.0 s memory limit per test256 MB inputstandard input outputstandard output This is an interactive problem Low_ has a beautiful tree, which he keeps very carefully. A tree is a tree, but mathematically, it cou…