1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# -*- coding: utf-8 -*- from __future__ import print_function try: raw_input except NameError: raw_input = input while True: try: a = raw_input('<in >') except EOFError: print('<eof>') break print('<out>', a, sep='')