Understand the question clearly. Use dummy node.