To find whether the given number is odd or even