#include<stdio.h>
int any(char s1[],char s2[]);
void main()
{
int i,c;
char s1[100],s2[100]={'o'};
//for(i=0;i<=99;++i)
scanf("%s",s1);
c=any(s1,s2);
if(c==0)
printf("No match\n");
else
printf("Have match\n");
}
/*any: return first iocation in s1 where any char from s2 occurs*/
int any(char s1[],char s2[])
{
int i,j;
for(i=0;s1[i]!='\0';i++)
for(j=0;s2[j]!='\0';j++)
if(s1[i]==s2[j]){/*match found?*/
return i;/*location first match*/
break;
}
return 0;
}