using System;
namespace MixItUp04
{
class Program
static void Main(string[] args)
string word1 = Console.ReadLine();
string word2 = Console.ReadLine();
if (word1.Length < word2.Length)
string temp = word2;
word2 = word1;
word1 = temp;
}
Console.WriteLine(word1);
for (int i = 0; i < word1.Length; i++)
if (i < word1.Length)
Console.Write(word1[i]);
if (i < word2.Length)
Console.Write(word2[i]);