__lowercase										= {
    '''a''': '''AAAAA''',
    '''b''': '''AAAAB''',
    '''c''': '''AAABA''',
    '''d''': '''AAABB''',
    '''e''': '''AABAA''',
    '''f''': '''AABAB''',
    '''g''': '''AABBA''',
    '''h''': '''AABBB''',
    '''i''': '''ABAAA''',
    '''j''': '''BBBAA''',
    '''k''': '''ABAAB''',
    '''l''': '''ABABA''',
    '''m''': '''ABABB''',
    '''n''': '''ABBAA''',
    '''o''': '''ABBAB''',
    '''p''': '''ABBBA''',
    '''q''': '''ABBBB''',
    '''r''': '''BAAAA''',
    '''s''': '''BAAAB''',
    '''t''': '''BAABA''',
    '''u''': '''BAABB''',
    '''v''': '''BBBAB''',
    '''w''': '''BABAA''',
    '''x''': '''BABAB''',
    '''y''': '''BABBA''',
    '''z''': '''BABBB''',
    ''' ''': ''' ''',
}


__lowercase										= {value: key for key, value in encode_dict.items()}



def lowerCamelCase  (       SCREAMING_SNAKE_CASE     ):
    '''simple docstring'''







    __UpperCamelCase					:str        =		''''''
    for letter in word.lower():
        if letter.isalpha() or letter == " ":
            encoded += encode_dict[letter]
        else:
            raise Exception('''encode() accepts only letters of the alphabet and spaces'''     )
    return encoded



def lowerCamelCase  (       SCREAMING_SNAKE_CASE     ):
    '''simple docstring'''







    if set(SCREAMING_SNAKE_CASE     ) - {"A", "B", " "} != set():
        raise Exception('''decode() accepts only \'A\', \'B\' and spaces'''     )
    __UpperCamelCase					:Optional[Any]        =		''''''
    for word in coded.split():
        while len(SCREAMING_SNAKE_CASE     ) != 0:
            decoded += decode_dict[word[:5]]
            __UpperCamelCase					:Optional[int]        =		word[5:]
        decoded += " "
    return decoded.strip()


if __name__ == "__main__":
    from doctest import testmod

    testmod()






from __future__ import annotations



def lowerCamelCase  (       SCREAMING_SNAKE_CASE  ,      SCREAMING_SNAKE_CASE  ,      SCREAMING_SNAKE_CASE  ,      ):
    '''simple docstring'''







    if (stress, tangential_force, area).count(0     ) != 1:
        raise ValueError('''You cannot supply more or less than 2 values'''     )
    elif stress < 0:
        raise ValueError('''Stress cannot be negative'''     )
    elif tangential_force < 0:
        raise ValueError('''Tangential Force cannot be negative'''     )
    elif area < 0:
        raise ValueError('''Area cannot be negative'''     )
    elif stress == 0:
        return (
            "stress",
            tangential_force / area,
        )
    elif tangential_force == 0:
        return (
            "tangential_force",
            stress * area,
        )
    else:
        return (
            "area",
            tangential_force / stress,
        )


if __name__ == "__main__":
    import doctest

    doctest.testmod()





