package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.util.Scanner;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner input = new Scanner(System.in);
int a = input.nextInt();
if(a % 2 == 0 && a < 10){
System.out.println("even single-digit number");
}
else if(a % 2 !=0 && a < 10){
System.out.println("odd single-digit number");
}
else if(a % 2 == 0 && a < 100){
System.out.println("even two-digit number");
}
else if(a % 2 != 0 && a < 100){
System.out.println("odd two-digit number");
}
else if(a % 2 == 0 && a < 1000){
System.out.println("even three-digit number");
}
else if(a % 2 != 0 && a < 1000){
System.out.println("odd three-digit number");
}
}
}

package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.util.Scanner;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner input = new Scanner(System.in);
int a = input.nextInt();
if(a % 2 == 0 && a < 10){
System.out.println("even single-digit number");
}
else if(a % 2 !=0 && a < 10){
System.out.println("odd single-digit number");
}
else if(a % 2 == 0 && a < 100){
System.out.println("even two-digit number");
}
else if(a % 2 != 0 && a < 100){
System.out.println("odd two-digit number");
}
else if(a % 2 == 0 && a < 1000){
System.out.println("even three-digit number");
}
else if(a % 2 != 0 && a < 1000){
System.out.println("odd three-digit number");
}
}
}