#K65492. Pangram Checker
Pangram Checker
Pangram Checker
Determine whether given sentences are pangrams. A pangram is a sentence that contains every letter of the English alphabet at least once.
Your task is to read several sentences from the input, check each sentence, and output "Pangram" if the sentence is a pangram and "Not a pangram" otherwise. Punctuation, spaces, and case differences should be ignored in the check.
inputFormat
The input starts with an integer T (1 ≤ T ≤ 10^5), representing the number of sentences. The next T lines each contain one sentence, which may include spaces, punctuation, and digits.
outputFormat
For each sentence, output a line containing either "Pangram" if the sentence is a pangram or "Not a pangram" if it is not.## sample
3
The quick brown fox jumps over the lazy dog
Hello world
Pack my box with five dozen liquor jugs
Pangram
Not a pangram
Pangram
</p>