Up and Down by uru

var s,t:string(999);i:comp;begin
read(s);repeat
readln(t);for i:=1to length(t)do s[i]:=chr(ord(s[i])+pos(t[i],' +')-1)until eof;write(s)end.

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

download

return to the top page