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

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

    return table