import java.util.*;
public class Tmp {
public static void main(String args[]) {
System.out.println("输入一个0-9999的数");
Scanner imput = new Scanner(System.in);
Integer n = imput.nextInt();
String s = n.toString();
int length = s.length();
switch(length) {
case 1:
System.out.println("一位数");
break;
case 2:
System.out.println("两位数");
break;
case 3:
System.out.println("三位数");
break;
case 4:
System.out.println("四位数");
break;
default:
System.out.println("输入有误");
}
}
}