int main(void)
{
int n = 0;
char s[] = { '\0' };
char t[] = { '\0' };
scanf("%s", s);
scanf("%s", t);
int m = (s[0]-64) * (s[1]-64) * (s[2]-64) * (s[3]-64) * (s[4]-64) * (s[5]-64);
int lenth = (t[0] - 64) * (t[1] - 64) * (t[2] - 64) * (t[3] - 64) * (t[4] - 64) * (t[5] - 64);
if (lenth = m)
{
printf("GO");
}
else
{
printf("STAY");
}
return 0;
}```