/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Pangrams {
public static void main
(String[] args
) {
Scanner sc
= new Scanner
(System.
in); s = s.toLowerCase();
HashSet<Integer> h = new HashSet<>();
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != ' ') {
int put = (int) s.charAt(i);
h.add(put);
}
}
if (h.size() == 26)
System.
out.
println("pangram"); else
System.
out.
println("not pangram"); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgUGFuZ3JhbXMgewoKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKCiAgICAgICAgU2Nhbm5lciBzYyA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CiAgICAgICAgU3RyaW5nIHMgPSBzYy5uZXh0TGluZSgpOwogICAgICAgIHMgPSBzLnRvTG93ZXJDYXNlKCk7CiAgICAgICAgSGFzaFNldDxJbnRlZ2VyPiBoID0gbmV3IEhhc2hTZXQ8PigpOwogICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgcy5sZW5ndGgoKTsgaSsrKSB7CiAgICAgICAgICAgIGlmIChzLmNoYXJBdChpKSAhPSAnICcpIHsKICAgICAgICAgICAgICAgIGludCBwdXQgPSAoaW50KSBzLmNoYXJBdChpKTsKICAgICAgICAgICAgICAgIGguYWRkKHB1dCk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgaWYgKGguc2l6ZSgpID09IDI2KQogICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oInBhbmdyYW0iKTsKICAgICAgICBlbHNlCiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigibm90IHBhbmdyYW0iKTsKICAgIH0KfQ==