m={'Lua ':1,'Fortran ':1,'LabVIEW ':k=1} for(i=10050;b=/\d+$/(l=readline(r=k)),b<m[a=/.+ /(l)]?0:m[m[a]=b]=1,i;i--)for([j,v]in m[i]&&m)v==i&&k++&print(r,j+v)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page