def bits_table_q() -> dict[int, int]:
    """The table of the maximum amount of information (bits) for the version Q.

    Returns:
        dict[int, int]: Dictionary of the form {version: number of bits}
    """
    table = {
        1: 104, 2: 176, 3: 272, 4: 384, 5: 496, 6: 608, 7: 704, 8: 880,
        9: 1056, 10: 1232, 11: 1440, 12: 1648, 13: 1952, 14: 2088, 15: 2360,
        16: 2600, 17: 2936, 18: 3176, 19: 3560, 20: 3880, 21: 4096, 22: 4544,
        23: 4912, 24: 5312, 25: 5744, 26: 6032, 27: 6464, 28: 6968, 29: 7288,
        30: 7880, 31: 8264, 32: 8920, 33: 9368, 34: 9848, 35: 10288, 36: 10832,
        37: 11408, 38: 12016, 39: 12656, 40: 13328
    }

    return table