To check whether the number is even or odd