The first line contains an integer(
) --- the number of vertices.
The nextlines describe the edges of the tree, where the
-th line contains two integers
,
(
) --- the two vertices that is connected by the
-th edge.
Output one integers in one line --- the number of vertices whose degree is one.