num = 3
if num < 0:
    isNeg = True
else:
    isNeg = False
result = ''
if num == 0:
    result = '0'
while num > 0:
    result = str(num % 2) + result
    num = num // 2
if isNeg:
    result = '-' + result
print(result)

1f5338b81a2eda3cdfc3f5d6a2f2cccbf5ea74d2
<mask token>

<mask token>
if num < 0:
    isNeg = True
else:
    isNeg = False
<mask token>
if num == 0:
    result = '0'
while num > 0:
    result = str(num % 2) + result
    num = num // 2
if isNeg:
    result = '-' + result
print(result)

num = 3
if num < 0:
    isNeg = True
else:
    isNeg = False
result = ''
if num == 0:
    result = '0'
while num > 0:
    result = str(num % 2) + result
    num = num // 2
if isNeg:
    result = '-' + result
print(result)
