def bs(s: int) -> str:
    """Converts an int to its bits representation as a string of 0's and 1's.
    """
    return str(s) if s <= 1 else bs(s >> 1) + str(s & 1)
def bs ( s : int ) -> str : return str ( s ) if s <= 1 else bs ( s >> 1 ) + str ( s & 1 )
Converts an int to its bits representation as a string of 0's and 1's.