Integer Type

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

Strings can represent even or odd numbers, but they also might not be numbers at all. Given a string, determine if it is an even integer, odd integer, or not an integer.

Input Specification

The only line of input is an alphanumeric sequence of characters containing only digits and lowercase letters.

Output Specification

If the input was an even integer, print even, if it was an odd integer, print odd. If it was not a valid integer, print invalid.

Sample Input

32498

Sample Output

even

Comments

There are no comments at the moment.