input_list = [1,2,3,4,5,6,7,8,9]

def custom_pop(input_list):
    """custom_pop(input_list) imitates input_list.pop()"""
   
    return input_list[-1]
    new_input_list = del input_list[-1]
    print new_input_list

