import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
while (reader.hasNext()) {
// 依次:定义字符串,获取首字符,获取字符串长度,定义临时字符为以便循环时读取,定义一个标志
String str = reader.nextLine();
char first = str.charAt(0);
int len = str.length();
char tem;
int flag = 1;
if (Character.isJavaIdentifierStart(first)) {
// 首字母为真后循环进行剩余字符判断
for (int i = 1; i < len; i++) {
tem = str.charAt(i);
if ((!Character.isJavaIdentifierPart(tem))) {
flag = 0;
break;
}
}
} else
flag = 0;
if (flag == 0)
System.out.println("false");
else
System.out.println("true");
}
reader.close();
}
}