include”stdafx.h”
include[HTML_REMOVED]
include[HTML_REMOVED]
include[HTML_REMOVED]
typedef struct user
{
char name[11];
char code[11];
}user;
int main(){
int n;
user u[1000];
int i,j,k;
int m;
int change[1000];
int a;
while(scanf("%d",&n)!=EOF)
{
a=0;
memset(change,1,sizeof(change));
for(i=0;i<n;i++)
{
scanf("%s %s",&u[i].name,&u[i].code);
}
m=0;
for(i=0;i<n;i++)
{
k=0;
for(j=0;u[i].code[j]!=0;j++)
{
if(u[i].code[j]=='1')
{
u[i].code[j]='@';
k=1;
}
else if(u[i].code[j]=='0')
{
u[i].code[j]='%';
k=1;
}
else if(u[i].code[j]=='l')
{
u[i].code[j]='L';
k=1;
}
else if(u[i].code[j]=='O')
{
u[i].code[j]='o';
k=1;
}
}
if(k==1)
{
change[a++]=i;
m++;
}
}
if(m==0)
{
if(n==1)printf("There is %d account and no account is modified\n",n);
else printf("There are %d accounts and no account is modified\n",n);
}
else
{
printf("%d\n",m);
for(i=0;i<m;i++)
{
printf("%s %s\n",u[change[i]].name,u[change[i]].code);
}
}
}
}