





import baseaa


def        SCREAMING_SNAKE_CASE      (       _UpperCAmelCase )			->     bytes:
    return baseaa.baaencode(string.encode('utf-8' ) )


def        SCREAMING_SNAKE_CASE      (       _UpperCAmelCase )			->     str:
    return baseaa.baadecode(_UpperCAmelCase ).decode('utf-8' )


if __name__ == "__main__":
    _UpperCAmelCase				:       List[Any]	   =				"""Hello World!"""
    _UpperCAmelCase				:       int	   =				baseaa_encode(test)
    print(encoded)

    _UpperCAmelCase				:       Optional[int]	   =				baseaa_decode(encoded)
    print(decoded)












from __future__ import annotations

from typing import Any


def        SCREAMING_SNAKE_CASE      (       _UpperCAmelCase )			->     None:
    create_state_space_tree(_UpperCAmelCase						,	[]						,	0 )


def        SCREAMING_SNAKE_CASE      (       _UpperCAmelCase						,	_UpperCAmelCase						,	_UpperCAmelCase )			->     None:

    if index == len(_UpperCAmelCase ):
        print(_UpperCAmelCase )
        return

    create_state_space_tree(_UpperCAmelCase						,	_UpperCAmelCase						,	index + 1 )
    current_subsequence.append(sequence[index] )
    create_state_space_tree(_UpperCAmelCase						,	_UpperCAmelCase						,	index + 1 )
    current_subsequence.pop()


if __name__ == "__main__":
    _UpperCAmelCase				:       list[Any]	   =				[3, 1, 2, 4]
    generate_all_subsequences(seq)

    seq.clear()
    seq.extend(["""A""", """B""", """C"""])
    generate_all_subsequences(seq)





