Byteasar has built a new palace. It has N rooms and N−1 corridors connecting them, and each corridor joins exactly two rooms. The rooms are numbered from 1 to N, and the only entrance to the palace is room 1. Because there is exactly one path from the entrance to every other room, the rooms form a tree.
The fire chief wants to place fire extinguishers throughout the palace under the following rules.
Having spent almost his entire budget on the palace, Byteasar wants to protect every room while using as few extinguishers as possible. Find the minimum number of extinguishers required.
The first line contains three integers N, S, and K separated by spaces (1≤N≤100000, 1≤S≤N, 1≤K≤20).
Each of the next N−1 lines contains two integers x and y separated by a space, meaning there is a corridor connecting room x and room y.
Print the minimum number of fire extinguishers required, on a single line.
