def a(n, x): k = [] for i in range(len(n)): k.append(n[i]) k.append(x[i]) return k n=list(map(int,input().split(' '))) x=list(map(int,input().split(' '))) print(a(n,x))