index | submit | rank | book

oddeven1 – Odd or even? (easy version)

Even and odd numbers of rocks.

Write a program that prints whether a given natural number is odd or even. A number is even when it is disivible by two. A number is odd when it is not divisible by two.

Input and output

The input contains a single line with a natural number n where 0 ≤ n ≤ 100 000. The output should contain a single line with odd or even.

Example input 1

12

Example output 1

even

Example input 2

7

Example output 2

odd

Scoring

try first: mult1 add1

try next: order1

index | submit | rank | book

Copyright © 2020-2022 Rudy Matela
This text is available under the CC BY-SA 4.0 license.
Originally available on cscx.org/oddeven1