#include <stdio.h>

int main() 
{
    char ch=0;
    while(scanf("%c",&ch)!=EOF)
    if(ch!='\n')
    {
    {
        if('a'<=ch&&ch<='z')
        {
            printf("%c is an alphabet.\n",ch);
        }
        else if('A'<=ch&&ch<='Z')
        {
            printf("%c is an alphabet.\n",ch);
        }
        else {
        {
            printf("%c is not an alphabet.\n",ch);
        }
        }
    }
    }

    return 0;
}