#116Easy
Letters missing from a string
Time: 1 s · Memory: 256 MB
- Maps and sets
Statement
You are given a string. Which letters of the Latin alphabet do not occur in it at all? Uppercase and lowercase count as the same letter: A and a are one letter.
Input format
A single line — a string of to ASCII characters.
Output format
The first line contains the number of missing letters. The second line contains those letters — lowercase, in alphabetical order, without spaces (if all letters occur, the second line is empty).
Examples
Input
Hello, World!
Output
19 abcfgijkmnpqstuvxyz
Input
The quick brown fox jumps over the lazy dog
Output
0
Note
Collect the letters of the string (converted to lowercase) into a set, then print the letters from a to z that are not in it. The sentence in the second example contains all letters — the answer is .
