#include<stdio.h>
#include<string.h>
#include<ctype.h>
int isPangram(char *word){
    int mark[26] = {0}; 
    int index;
    for (int i = 0; i < strlen(word); i++) {
         char c = tolower(word[i]);
          if (c >= 'a' && c <= 'z') {
            index = c - 'a';
            mark[index] = 1;
          }
    }
    for (int i = 0; i < 26; i++){
        if (mark[i] == 0) {
            return 0; 
        }
    }
}
int main(){
    char word[100];
    fgets(word,sizeof(word),stdin);
    if (str[strlen(str) - 1] == '\n') {
        str[strlen(str) - 1] = '\0';
    }

    if (isPangram(str)) {
        printf("The string is a pangram.\n");
    } else {
        printf("The string is not a pangram.\n");
    }

    return 0;
}