I wanted to perform bitwise and operation in an if condition, and based on the matching condition return a particular int.
def test(x: Int): Int=