<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unwrap(node):
 """Remove a node, replacing it with its children."""

    for child in list(node.childNodes):
        node.parentNode.insertBefore(child, node)
    remove_node(node)