Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Alphabets Puzzle

By kawsarahmd · Limits 1s, 512 MB

Wassi and Tahseen are two young brothers who are just learning the English alphabets, still the uppercase letters only. Their teacher wanted to test how much they have learned so far. As a result, she prepared a string of capital letters where some of the letters are missing.

The teacher wanted to see if her students can find out the total numbers of letters are missing. Now, since Wassi and Tahseen are too young to write a program, our teacher can not ask them to write one.

So can you help out our teacher here by writing a small program that will help her to determine if her two little students got the count of missing letters right.

Input

The input will contain a string S (0 <|S|<=1000).

Output

Just print the answer in a single line.

Samples

InputOutput
ABCD
22
InputOutput
AAAA
25

Input will be only english uppercase letter.

    Discussion

    Statistics


    96% Solution Ratio

    riyad000Earliest, 1M ago

    riyad000Fastest, 0.0s

    Morshed_RajuLightest, 0 B

    mdvirusShortest, 27B

    Submit

    Login to submit

    Related Contests