#include <stdio.h>
#include<string.h>
int main()
{
char s[100];
scanf("%[^\n]s",s); // scan ' '
int l=strlen(s);
//cout<<"length: "<<l;
int count=0;
for(int i=0; i<l; i++)
{
if((s[i]<='Z' && 'A'<=s[i] ) || (s[i]<='z' && 'a'<=s[i] )){
count++;
}
}
printf("%d",count);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: