def get_page_index(address):
# Define the number of addresses per page
addresses_per_page = 128
# Calculate the hash of the address
hash_value = int(hash(address))
# Calculate the page index using the hash value
page_index = hash_value // (addresses_per_page * 8)
# Return the page index (0-indexed)
return page_index + 1
# Input your Bitcoin address
address = "1GSWUGWZcLfxR4LEcbvgwfWoqezT3n2of4"
# Call the function to get the page index
page_index = get_page_index(address)
# Print the result
print(f"Page {page_index} out of 904625697166532776746648320380374280100293470930272690489102837043110636675")