import std.stdio;void main(){int[400]a;int n,m;for(;m^=10;a[n]=1)scanf("%d%c",&n,&m);for(string s;s=readln,s;)write(a[++m]?s~s:s);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page