def tidyBBB( BBB:str ) -> str:
    """
    Change book codes like SA1 to the conventional 1SA.

    BBB is always three characters starting with an UPPERCASE LETTER.
    """
    return (BBB[2]+BBB[:2]) if BBB[2].isdigit() else BBB