#include <iostream>
#include <conio.h>
#include <string>
using namespace std;
void main()
{
string word;
//while (cin>>word)
//while(getline(cin,word))
getline(cin,word);
cout<<word<<endl;
basic_string<char>::size_type i;
i= word.size();
cout<<i<<endl;
for (string::size_type iy=0; iy!=word.size(); iy++)
{
if(ispunct(word[iy]))//标点
cout<<word[iy]<<endl;
//if(isalnum(word[iy]))//字母或数字
// cout<<word[iy]<<endl;
//isalpha() // 字母
//iscntrl();// 控制字符
//isdigit();//数字
//isgraph();//不是空格,但可打印
//islower();//小写字母
//isupper();//大写字母
//isprint();//可打印的字符
//isspace();//空白符
//isxdigit();//十六进制熟
//tolower();;//if大写 返回小写
//toupper();;//if小写 返回大写
}
word = "1234/n/0";
i = word.size();
cout<<word[0]<<" "<<word<<" "<<i<<endl;
for (string::size_type ix=0; ix!=word.size(); ix++)
{
cout<<word[ix]<<endl;
}
cout<<word<<endl;
getch();
}