#include <iostream>
using namespace std;
int main() {
char str[100] = { 0 };
int count=0;
cin.getline(str, sizeof(str));
// write your code here......
// string str1= str;
// cout<< str1.size() <<endl;
for(int i=0; i<sizeof(str); i++){
if(str[i]!='\0'){
count++;
}
}
cout << count <<endl;
return 0;
}

京公网安备 11010502036488号