def extract_page_number(filename):
match = re.search(r'page_(\d+)_', filename)
if match:
return int(match.group(1))
return None
ZGVmIGV4dHJhY3RfcGFnZV9udW1iZXIoZmlsZW5hbWUpOgogICAgbWF0Y2ggPSByZS5zZWFyY2gocidwYWdlXyhcZCspXycsIGZpbGVuYW1lKQogICAgaWYgbWF0Y2g6CiAgICAgICAgcmV0dXJuIGludChtYXRjaC5ncm91cCgxKSkKICAgIHJldHVybiBOb25l