Anton and Letters

题意翻译

珂朵莉有一个由小写字母组成的{}序列,她想知道这个序列中有多少不同的字母 感谢@AC我最萌 提供的翻译

题目描述

Recently, Anton has found a set. The set consists of small English letters. Anton carefully wrote out all the letters from the set in one line, separated by a comma. He also added an opening curved bracket at the beginning of the line and a closing curved bracket at the end of the line. Unfortunately, from time to time Anton would forget writing some letter and write it again. He asks you to count the total number of distinct letters in his set.

输入输出格式

输入格式


The first and the single line contains the set of letters. The length of the line doesn't exceed 1000. It is guaranteed that the line starts from an opening curved bracket and ends with a closing curved bracket. Between them, small English letters are listed, separated by a comma. Each comma is followed by a space.

输出格式


Print a single number — the number of distinct letters in Anton's set.

输入输出样例

输入样例 #1

{a, b, c}

输出样例 #1

3

输入样例 #2

{b, a, b, a}

输出样例 #2

2

输入样例 #3

{}

输出样例 #3

0