<gh_stars>0
#!/usr/bin/env python

import sys
from utils import read_input


def main(separator='\t'):
    """Emit the node and its neighbour."""
    data = read_input(sys.stdin)
    for u, v in data:
        print("{}\t{}".format(u, v))
        print("{}\t{}".format(v, u))


if __name__ == '__main__':
    main()

#!/usr/bin/env python

import sys
from utils import read_input


def main(separator='\t'):
    """Emit the node and its neighbour."""
    data = read_input(sys.stdin)
    for u, v in data:
        print("{}\t{}".format(u, v))
        print("{}\t{}".format(v, u))


if __name__ == '__main__':
    main()
#!/usr/bin/env python Emit the node and its neighbour.