from typing import List
from typing import Tuple


def getLRUPageTableEntryIndex(pageNumber: int, pageTable: List[Tuple[float, int]]) -> int:
    """Returns the index of the page entry for the page with the given number."""
    for index, (_, entryPageNumber) in enumerate(pageTable):
        if entryPageNumber == pageNumber:
            return index

    return -1