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