def input_function():
 import sys
 if (sys.version_info[0] < 3):
  user_input = str(raw_input())
  if user_input:
   user_input = user_input.decode('utf-8')
 else:
  user_input = input()
 return user_input

def input_function ( ) : import sys if ( sys . version_info [ 0 ] < 3 ) : user_input = str ( raw_input ( ) ) if user_input : user_input = user_input . decode ( 'utf-8' ) else : user_input = input ( ) return user_input
normalizes reading input between python 2 and 3 .