human
Solve in Python:
In this Kata you must convert integers numbers from and to a negative-base binary system.

Negative-base systems can accommodate all the same numbers as standard place-value systems, but both positive and negative numbers are represented without the use of a minus sign (or, in computer representation, a sign bit).
this advantage is countered by an increased complexity of arithmetic operations.

To help understand, the first eight digits (in decimal) of the Base(-2) system is: 

`[1, -2, 4, -8, 16, -32, 64, -128]`

Example conversions:

`Decimal, negabinary`
```
6,   '11010'
-6,  '1110'
4,   '100'
18,  '10110'
-11, '110101'
```
assistant
#Here is the Python code you requested.

def int_to_negabinary(n):
    def do(n1):
        li = []
        while n1 != 0:
            li.append(str(abs(n1 % (-2)))) ; n1 //= -2
        return li[::-1]
    return "".join([do(abs(n)),do(-n)][n>0]) or '0'
    
negabinary_to_int=lambda n:sum([int(j)*((-2)**i)for i,j in enumerate(n[::-1])])