#!/usr/bin/env python3

print(0b11011)

''' complement '''
print("complement : ~12")
print('You have to sum 1 to the binary conversion')
print('The first binary is 1 or negative if number to change is positive')
print(~12)
print(bin(~12))
print()

''' complement '''
print("complement : ~5")
print(~5)
print(bin(~5))
print()

''' complement '''
print("complement : ~(-5)")
print(~(-5))
print(bin(~(-5)))
print()

''' complement '''
print("complement : ~(-6)")
print(~(-6))
print(bin(~(-6)))
print()

''' complement '''
print("complement : ~3")
print(~3)
print(bin(~3))
print()

''' complement '''
print("complement : ~6")
print(~6)
print(bin(~6))
print()

''' complement '''
print("complement : ~7")
print(~7)
print(bin(~7))
print()

''' and '''
print("and : 12 & 13")
print(12 & 13)
print()

''' or '''
print("or : 12 | 13")
print(12 | 13)
print()

''' xor '''
print("xor : 12 ^ 13")
print(12 ^ 13)
print()

''' left shift '''
print("left shift : 10 << 2")
print(10 << 2)
print()

''' right shift '''
print("right shift : 10 >> 2")
print(10 >> 2)
print()