public static void Main()
string str1=Console.ReadLine();
string str2=Console.ReadLine();
string[,] res=new String[2,3];
string[] words={str1,str2};
int len = words[i].Length;
res[i,0] = words[i].Substring(0, len/3);
res[i,1] = words[i].Substring(len/3, (len-len/3)-len/3);
res[i,2] = words[i].Substring(len-len/3);
res[i,0] = words[i].Substring(0, len/3+1);
res[i,1] = words[i].Substring(len/3+1, len/3);
res[i,2] = words[i].Substring(len-len/3-1);
Console.WriteLine(res[a,b]);
password=(res[1,2]+res[0,1]+res[1,1]+res[0,0]);
Console.WriteLine(password);