[Plain]
# Include <stdio. h>
# Include <string. h>
Int main ()
{
Int I;
Int num;
Int flag = 1;
Char a [100];
Gets ();
Num = strlen ();
If (a [0]> = 'A' & a [0] <= 'Z ') | (a [0]> = 'A' & A [0] <= 'Z') | (a [0] = '_'))
{
For (I = 1; I <num; I ++)
{
If (a [I]> = 'A' & a [I] <= 'Z ') | (a [I]> = 'A' & A [I] <= 'Z ') | (a [I]> = '0' & a [I] <= '9') | (a [I] = '_'))
{
Flag = 1;
}
Else
{
Flag = 0;
}
If (flag = 0)
{
Break;
}
}
If (flag)
{
Printf ("YES ");
}
Else
{
Printf ("NO ");
}
}
Else
{
Printf ("NO ");
}
Return 0;
}
# Include <stdio. h>
# Include <string. h>
Int main ()
{
Int I;
Int num;
Int flag = 1;
Char a [100];
Gets ();
Num = strlen ();
If (a [0]> = 'A' & a [0] <= 'Z ') | (a [0]> = 'A' & A [0] <= 'Z') | (a [0] = '_'))
{
For (I = 1; I <num; I ++)
{
If (a [I]> = 'A' & a [I] <= 'Z ') | (a [I]> = 'A' & A [I] <= 'Z ') | (a [I]> = '0' & a [I] <= '9') | (a [I] = '_'))
{
Flag = 1;
}
Else
{
Flag = 0;
}
If (flag = 0)
{
Break;
}
}
If (flag)
{
Printf ("YES ");
}
Else
{
Printf ("NO ");
}
}
Else
{
Printf ("NO ");
}
Return 0;
}