#include <iostream>
#include <string>
using namespace std;
int min(int a, int b) {
  if (a <= b) {
    return a;
  } else {
    return b;
  }
}
int main() {
  string str1, str2;
  cin >> str1 >> str2;
  int flag = 0;
  int m;
  for (m = 0; m < min(str1.length(), str2.length()); m++) {
    cout << str1[m] << str2[m];
  }
  if (str1.length() > str2.length()) {
    cout << str1[m];
  } else {
    cout << str2[m];
  }
  return 0;
}
