/**
* 【程序7】
*题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。
*1.程序分析:利用while语句,条件为输入的字符不为 '\n '.
*/
import java.io.*;
public class BianliQiushu {
public int k;
public static void main(String[] args) {
//BianliQiushu g=new BianliQiushu();
System.out.println("Please Input^^^^^");
tongji();
}
public static void tongji(){
//int n=100;
BufferedReader input =new BufferedReader(new InputStreamReader(System.in));
try {
String s=input.readLine();
char[] shuru=s.toCharArray();
int k=0;
for(int i=0;i System.out.print(shuru[i]);
if((int)(shuru[i])!=13) k++;
}
System.out.println();
System.out.println(k);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
//while()
}
/**public void shuRu(){
String[] a= new String[100];
for(int i=0;i<=99;i++){
try {
a[i]=System.in.read();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println(a[i]);
}
}*/
}