def input_(prompt=None):
 if prompt:
  if isinstance(prompt, unicode):
   prompt = prompt.encode(_encoding(), 'replace')
  print(prompt, end=' ')
 try:
  resp = raw_input()
 except EOFError:
  raise UserError('stdin stream ended while input required')
 return resp.decode((sys.stdin.encoding or 'utf8'), 'ignore')

def input_ ( prompt = None ) : if prompt : if isinstance ( prompt , unicode ) : prompt = prompt . encode ( _encoding ( ) , 'replace' ) print ( prompt , end = ' ' ) try : resp = raw_input ( ) except EOFError : raise UserError ( 'stdin stream ended while input required' ) return resp . decode ( ( sys . stdin . encoding or 'utf8' ) , 'ignore' )
like input .