# Bitwise OR
a = 0b1010
b = 0b1100
result_or = a | b
print("Bitwise OR:", bin(result_or))
# Bitwise AND
a = 0b1010
b = 0b1100
result_and = a & b
print("Bitwise AND:", bin(result_and))
# Bitwise XOR
a = 0b1010
b = 0b1100
result_xor = a ^ b
print("Bitwise XOR:", bin(result_xor))
# Bitwise NOT
a = 0b1010
result_not = ~a
print("Bitwise NOT:", bin(result_not))
# Left Shift
a = 0b1010
shifted_left = a << 2
print("Left Shift:", bin(shifted_left))
# Right Shift
a = 0b1010
shifted_right = a >> 2
print("Right Shift:", bin(shifted_right))