import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
while ((str = br.readLine()) != null ) {
char c = str.charAt(0);
boolean b = Character.isLetter(c);//根据判断输出两种结果
String s = b ? " is an alphabet." : " is not an alphabet.";
System.out.println(c + s);
}
}
}