from sys import argv


start = int(argv[1]) & int(argv[2])
end = start + (int(argv[2])^255)

print "start is", start
print "end is", end
from sys import argv


start = int(argv[1]) & int(argv[2])
end = start + (int(argv[2])^255)

print "start is", start
print "end is", end
