x="input().split(),";f=eval while~0: s,=f(x);n=len(s)//2;a=f("s,"+x*~-n) for u in a:print(*[f("+%s*".join([""]+u[:n])%v)for v in list(zip(*a))[n:]])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page