Problem F
Quick Brown Fox

A pangram is a phrase that includes
at least one occurrence of each of the
Your job is to recognize pangrams. For phrases that don’t contain every letter, report what letters are missing. We’ll say that a particular letter occurs in the phrase if it occurs as either upper case or lower case.
Input
Input starts with a line containing an integer
Output
For each input phrase, output “pangram” if it qualifies as a pangram. Otherwise, output the word “missing” followed by a space and then the list of letters that didn’t occur in the phrase. The list of missing letters should be reported in lower case and should be sorted alphabetically.
Sample Input 1 | Sample Output 1 |
---|---|
3 The quick brown fox jumps over the lazy dog. ZYXW, vu TSR Ponm lkj ihgfd CBA. .,?!'" 92384 abcde FGHIJ |
pangram missing eq missing klmnopqrstuvwxyz |