# -*- coding: utf-8 -*-
"""
Created on Wed Dec  4 14:43:58 2019

@author: SNR
"""

a = 50    # 110010
b = 25    # 011001
c = a & b # 010000

print(c)

x = 240   # 11110000
y= x >> 2 # 00111100

print(y)