A single integer: N There are n - 1 lines , Each line contains two space-separated integers that describe a pipe's connectivity: Ai and Bi
Integers, one per line and in ascending order, each denoting a possible node at which to install the chocolate inserter.