JDCC '17 Contest 1 J1 - Odd Times

View as PDF

Submit solution

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

Problem type

Numbers can be even or odd, however Vlad has noticed that some numbers are more odd than others. In particular, if an odd number has an odd number of digits, Vlad calls it very odd. Given a number N​, help Vlad determine whether it is even, odd, or very odd.

Input Specification

An integer N \(​(1 \le N​ \le 10\) 000).

Output Specification

Print even if N​ is even, odd if N​ is odd and has an even number of digits, or very odd if N​ is odd and has an odd number of digits.

Sample​ ​Input​ ​1

1

Sample​ ​Output​ ​1

very odd

Sample​ ​Input​ ​2

13

Sample​ ​Output​ ​2

odd

Comments

There are no comments at the moment.