#include <stdio.h>
#include <string.h>
 
#define Maxsize 3200
 
int main()
{
	int letter[30];
	memset(letter, 0, sizeof(letter));
	char line[Maxsize];
	gets(line);
	int length;
	length=strlen(line);
	int i=1;
	while(i<length)
	{
		letter[line[i]-97]++;
		i+=3;
	}
	int Count=0;
	for(i=0; i<26; ++i)
	{
		if(letter[i]!=0)
			++Count;
	}
	printf("%d\n", Count);
	return 0;
}

  

 posted on 2019-11-06 10:53  ComMario  阅读(104)  评论(0编辑  收藏  举报