import std.stdio;void main(){char[]s=readln.dup;foreach(_;s)foreach(i,c;readln)s[i]+=c%22/9-1;write(s);}