I don't like this problem... Easy DFS.