To check whether an input number is odd.