index | submit | rank | book

oddeven – Odd or even?

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 several lines each with a natural number n where -2 000 000 000 ≤ n ≤ 2 000 000 000. Input is terminated by the end-of-file (EOF).

For each line of input, the output should contain either odd or even.

Example input

0
3
12
-7

Example output

even
odd
even
odd

Scoring

try first: mult add oddeven1

try also: order

try next: good bmi

index | submit | rank | book

Copyright © 2020-2021 Rudy Matela
All rights reserved