what is wrong with last condition
package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s = reader.readLine();
int a= Integer.parseInt(s);
if (a % 2==0 && a<10)
System.out.println("even single-digit number");
else if (a % 2 ==1 && 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==1 && 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==1 && a<1000)
System.out.println("odd three-digit number");
else if ( a <1 || a> 999){
}
}
}