求一个判断字符串能否为变量名的程序
求助大佬Xiaoming is learning C Programming Language recent decades, but he can't identify whether a variable name valid for C, please implement a program to help him.
If the input string is valid, output "yes", otherwise, output "no". The system identifiers are invalid, because you should not use them.
The input contains more than one lines and each lines contains no more than 256 characters.
Note that the key identifiers of C are as follows:
auto, break, case, char, const, continue, default, do, double, else, enum, extern, float, for, goto, if, int, long, register, return, short, signed, sizeof, static, struct, switch, typedef, union, unsigned, void, volatile, while
Sample Input
123
for
SQOOP_HOME
__name__
mail@
Sample Output
no
no
yes
yes
no