Problem:
Score : 200 points

Problem Statement

Snuke signed up for a new website which holds programming competitions.
He worried that he might forget his password, and he took notes of it.
Since directly recording his password would cause him trouble if stolen,
he took two notes: one contains the characters at the odd-numbered positions, and the other contains the characters at the even-numbered positions.

You are given two strings O and E. O contains the characters at the odd-numbered positions retaining their relative order, and E contains the characters at the even-numbered positions retaining their relative order.
Restore the original password.

Constraints

O and E consists of lowercase English letters (a - z).

1 \leq |O|,|E| \leq 50

|O| - |E| is either 0 or 1.

Input

Input is given from Standard Input in the following format:

O
E

Output

Print the original password.

Sample Input 1

xyz
abc

Sample Output 1

xaybzc

The original password is xaybzc. Extracting the characters at the odd-numbered positions results in xyz, and extracting the characters at the even-numbered positions results in abc.

Sample Input 2

atcoderbeginnercontest
atcoderregularcontest

Sample Output 2

aattccooddeerrbreeggiunlnaerrccoonntteesstt

Solution in C++ (GCC 5.4.1) (judge verdict: Accepted)

#include<bits/stdc++.h>//万能头 
using namespace std;
int main()//主程序 
{
	//本题思路：string两个数组，getline读入，while循环，一边循环一边输出 
    string a;//string a 
    string b;//string b
	getline(cin,a);//输入 a
	getline(cin,b);//输入 b 
	int x,y;//int两个数组求a，b的长度
	x=a.size();//x求a的长度 
	y=b.size();//y求b的长度  
	int s=0,f=0;//标记 :while里面暴力做标记 
	while(s!=x&&f!=y) //while
	{
		cout<<a[s]<<b[f]; //一边循环一边输出 
		s++;//加加 
		f++;//加加 
	} 
	if(y>x)
	{
		for(int i=x;i<y;i++)
		{
			cout<<b[i]; 
		} 
		return 0;
	} 
	if(x>y)
	{
		for(int i=y;i<x;i++)
		{
			cout<<a[i]; 
		} 
		return 0;
	} 
	if(y==x)
	{
		return 0;
	} 
    return 0;//退出 
}