def image_index(pathname):
    """
    Helper function for submission. Takes the path to an image, e.g.
    "./image_folder/15.jpg", and returns the image name, in this example
    "15.jpg".
    """
    return pathname[pathname.rfind("/")+1:]