#!/usr/bin/python import sys import xml.dom.minidom xmlObj = xml.dom.minidom.parseString(sys.stdin.read()) print(xmlObj.toprettyxml())