def blocks_table_h() -> dict[int, int]:
    """The table is the number of blocks for the correction level H.

    Returns:
        dict[int, int]: Dictionary of the form {version: number of blocks}
    """
    table = {
        1: 1, 2: 1, 3: 2, 4: 4, 5: 4, 6: 4, 7: 5, 8: 6, 9: 8, 10: 8, 11: 11,
        12: 11, 13: 16, 14: 16, 15: 18, 16: 16, 17: 19, 18: 21, 19: 25, 20: 25,
        21: 25, 22: 34, 23: 30, 24: 32, 25: 35, 26: 37, 27: 40, 28: 42, 29: 45,
        30: 48, 31: 51, 32: 54, 33: 57, 34: 60, 35: 63, 36: 66, 37: 70, 38: 74,
        39: 77, 40: 81
    }

    return table