for(r=readline;a=(r()+r()).match(/\S../g);print(i,k))for(k=a[i=0]+a[5];k!=a[++i]+a[i+5];);
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page