input.txt for problems concerning trees