How many trees?

Problem Name:
How many trees?
Site:CodeForces
Links:
Tags:
Problem setters: