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

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

    return table