package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args){
//write your code here
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int len = (int)(Math.log10(n) + 1);
if(n > 1 && n < 999)
{
if(n % 2 == 0)
{
if(len == 1)
{
System.out.println("even single-digit number");
}
else if(len == 2)
{
System.out.println("even two-digit number");
}
else if( len == 3)
{
System.out.println("even three-digit number");
}
}
else{
if(len == 1)
{
System.out.println("odd single-digit number");
}
else if(len == 2)
{
System.out.println("odd two-digit number");
}
else if(len == 3)
{
System.out.println("odd three-digit number");
}
}
}
}
}

package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args){
//write your code here
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int len = (int)(Math.log10(n) + 1);
if(n > 1 && n < 999)
{
if(n % 2 == 0)
{
if(len == 1)
{
System.out.println("even single-digit number");
}
else if(len == 2)
{
System.out.println("even two-digit number");
}
else if( len == 3)
{
System.out.println("even three-digit number");
}
}
else{
if(len == 1)
{
System.out.println("odd single-digit number");
}
else if(len == 2)
{
System.out.println("odd two-digit number");
}
else if(len == 3)
{
System.out.println("odd three-digit number");
}
}
}
}
}