int main()
{
char *str;
int n,m,i;
scanf("%d,%d",&m,&n);
str=(char*)calloc(sizeof(char)*m);
for ( i = 0; i < m; i++)
{
scanf("%c",&str[i]);
}
}