Up and Down by pooq

var i:word;a,b:string(999);begin
readln(a);repeat
readln(b);for i:=1to length(a)do a[i]:=chr(ord(a[i])+pos(b[i]," +")-1)until EOF;write(a)end.

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

download

return to the top page