import *;
public class print_alphabet {
/**
* @param args
*/
/**
* @param args
*/
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int small=0;
int large=0;
int other=0;
try
{
System.out.print("请输入一个字符串:");
String s = (String) br.readLine();
for (int j = 0; j < s.length(); j++)
{
if(s.charAt(j)>=65&&s.charAt(j)<=90)
small++;
else if(s.charAt(j)>=97&&s.charAt(j)<=112)
large++;
else
other++;
}
}
catch (Exception e)
{
e.printStackTrace();
}
System.out.println("小写字母个数"+small);
System.out.println("大写字母个数"+large);
System.out.println("其它字符个数"+other);
}
}