human
Complete this python program:
def ConvertKeys(keys):
assistant
#Here is the Python program you requested.

    """Convert a list of keys to a list of keys with the app_id of the caller.
    Args:
    keys: A list of datastore Entity Keys.
    Returns:
    A new list of keys in the same order as the input with app_id set to the
    default app_id in the calling context. Whichever input keys were already
    of this app_id are copied by reference.
    """
    def ChangeApp(key, app_id):
        if (key.app() == app_id):
            return key
        return datastore.Key.from_path(namespace=key.namespace(), _app=app_id, *key.to_path())
    app_id = datastore.Key.from_path('kind', 'name').app()
    return [ChangeApp(key, app_id) for key in keys]