Skip to content
CampusEduX

Check Odd or Even Using Bits

Easyjavapythonccppjavascript

Given an integer N, determine whether it is odd or even by inspecting its least significant bit.

Input Format

A single line containing the integer N.

Output Format

Print Odd if N is odd, otherwise print Even.

Related Problems

  • Count Set Bits
    Easy · java, python, c, cpp, javascript
    Solve Problem
  • Find the Missing Number Using XOR
    Easy · java, python, c, cpp, javascript
    Solve Problem

Input (stdin)

Output

Run your code to see output here...