使用给定的输入文本，将“it”转换为“he”或“she”（取决于上下文）。
输入文本：“Lucy always takes her dog with her when she goes hiking. It is her faithful companion.”
“Lucy always takes her dog with her when she goes hiking. She is her faithful companion.”