'''
AND(&) will give a set bit if both the bits are set and give 0 otherwise
The symbol and working is same as that in C++

3 = 0011
6 = 0110

(3 & 6) = (0010) = 2
'''

x = 3
y = 6

print(x & y) #gives 2 as output