Tents and trees

Sign in to test your solution.