duplicate certain lines _A_ by c_r_5

a,*s=open(0)
i=1
for t in s:print(t*-~(str(i)in a.split()),end='');i+=1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page