# ~
print(~5)
print(~-1)

# << 연산자
a = 4
print(a >> 1)

# and(&) :  True and False -> False  1 & 0 -> 0
# or(|)  :  True or False -> True    1 | 0 -> 1
# XOR(^) :  True xor False -> True   1 ^ 0 -> 1
a = 3
print(a & 2)
print(a | 8)
print(0x0f ^ 0x06)


