val1=input("please enter first binary number")
val2=input("please enter second binary number")

print val1 & val2
print val1 | val2
print val1 ^ val2
print ~val2
print ~val1
print val1 << 1
print val1 >> 1
print val2 << 1
print val2 >> 1


