import sys print''.join(map(''.join,zip(*[list(x[:-1])+['']*13 for x in sys.stdin])))