Problem:


Score : 200 points

Problem Statement

Given are strings s and t of length N each, both consisting of lowercase English letters.

Let us form a new string by alternating the characters of S and the characters of T, as follows: the first character of S, the first character of T, the second character of S, the second character of T, ..., the N-th character of S, the N-th character of T. Print this new string.

Constraints

1 \leq N \leq 100

|S| = |T| = N

S and T are strings consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

N
S T

Output

Print the string formed.

Sample Input 1

2
ip cc

Sample Output 1

icpc

Sample Input 2

8
hmhmnknk uuuuuuuu

Sample Output 2

humuhumunukunuku

Sample Input 3

5
aaaaa aaaaa

Sample Output 3

aaaaaaaaaa



Sample input:
2
ip cc


Sample output:
icpc

Submission status: Runtime Error

Solution code:
N = int(input())
S = str(input())
T = str(input())
f = ''
for i in range(N):
    f += S[i]
    f += T[i]
print(f)

Submission status: Runtime Error

Solution code:
n=input()
s=input()
t=input()
for i in range(n):
  print(list(s)[i], list(t)[i], sep='', end='')

Submission status: Runtime Error

Solution code:
N = int(input())
S = str(input())
T = str(input())

for i in range(N)
	ST[i]   = S[i]
  	ST[i+1] = T[i]

Submission status: Runtime Error

Solution code:
N = int(input())

S = input()
T = input()

#print(S)
#print(len(S))
#print(len(T))

moji = ""

if(len(S) == len(T) == N):
  for i in range(0, N):
    str = (S + T)[i::N]
    moji += str
print(moji)

Submission status: Runtime Error

Solution code:
N=input()
ST=input()
S=ST.split(' ')[0]
T=ST.split(' ')[1]

for i in range(N):
  result.append(S[i])
  result.append(T[i])
  
print(result)

Submission status: Runtime Error

Solution code:
s = int(input())
str1, str2 = [s for s in input().split()]

ans=[]
for i in range(4):
  ans += str1[i]
  ans += str2[i]

  
print(''.join(ans))

Submission status: Runtime Error

Solution code:
N=input()
ST=input()
S=ST.split(0,N)
T=ST.split(N,2*N)

for i in range(N):
  result.append(S[i])
  result.append(T[i])
  
print(result)

Submission status: Runtime Error

Solution code:
n=int(input())
for _ in range(n):
     s,t=input().split()
     c=''
     i=0
     j=0
     f=0
     for _ in range(len(s)+len(t)):
         if f==0:
             c+=s[i]
             i+=1
             f=1
         else:
             c+=t[j]
             j+=1
             f=0
     print(c)

Submission status: Runtime Error

Solution code:
n = input()
str = input()
sl = list(str.split(" ")[0])
tl = list(str.split(" ")[1])

for i in range(0,n-1):
    print(sl[i],end="")
    print(tl[i],end="")

Submission status: Runtime Error

Solution code:
N = int(input())
H = list(map(str, input().split()))
S = H[0]
T = H[1]
#print(S)
#print(T)
L=S[0]+T[0]+S[1]+T[1]
#L[1]=T[1]
#L[2]=S[2]
#L[3]=T[2]


if N >=3:
    for i in range(2,N):
        L=L+S[i]
        L=L+T[i]
print(L)

Submission status: Runtime Error

Solution code:
N = int(input() )
S, T = map(str, input().split())
print(S + T

Submission status: Runtime Error

Solution code:
new_str = ""
num = int(input())
string = input().split(" ")
for i in range(0,num):
    new_str += string[0][i] + string[i][0]
print("".join(new_str))

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  word += s[n]
  for j in range(n):
    word += t[n]

print(word)

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
t = input()
l = ""
for i in range(n):
    l += s[i]
    l += t[i]

print(l)

Submission status: Runtime Error

Solution code:
N = int(input())
H = list(map(str, input().split()))
S = H[0]
T = H[1]
#print(S)
#print(T)
L=S[0]+T[0]+S[1]+T[1]
#L[1]=T[1]
#L[2]=S[2]
#L[3]=T[2]


if N >=3:
    for i in range(2,N):
        L=L+S[i]
    for i in range(2,N):
        L=L+T[i]
print(L)

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  for j in range(n):
    word += i + j

print(word)

Submission status: Runtime Error

Solution code:
n = list(input().split())
s, t = list(input().split())

ans = []
for i in range(0, int(len(n)+1)):
  ans.append(s[i])
  ans.append(t[i])
  
print(''.join(map(str,ans)))

Submission status: Runtime Error

Solution code:
N = int(input())

S = input()
T = input()

if(len(S) == len(T) == N):
  print("OK")

Submission status: Runtime Error

Solution code:
n = int(input())
a,b = input().split()
a = [i for i in a]
b = [i for i in b]
ans =""

for i in range(n):
  ans += a[n]
  ans += b[n]
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
st = str(input()).split(' ')
ans = ''
for i in range(n):
    ans += st[i][0]
    ans += st[i][1]
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
k = input().split()
c = ""
for i in list(range(2)):
  c += k[0][i]
  c += k[1][i]
  
print(c)

Submission status: Runtime Error

Solution code:
NNN = input()

S = str(input())
T = str(input())

S_list =list(S)
T_list =list(T)

N = len(S_list)
outstr = []

for n in range(N*2):
    if n%2 == 0:
        outstr.append(S_list[int(n / 2)])
    else:
        outstr.append(T_list[int(n / 2)])

STR = ','.join(outstr)
STR2 = STR.replace(",", "")
print(STR2)

Submission status: Runtime Error

Solution code:
num = int(input())

s = input()
t = input()
u =[]

for _ in range(num):
  u.append(s[_] + t[_])

ans = ''.join(u)

print(ans)

Submission status: Runtime Error

Solution code:
num = int(input())

s1,s2 = input().split()

ans = ''

for i in range(num):
	ans = ans + s1[i]
    ans = ans + s2[i]

print(ans)

Submission status: Runtime Error

Solution code:
N = int(input())
S = str(input())
T = str(input())

f = ''
for i in range(N):
    f += S[i]
    f += T[i]
print(f)

Submission status: Runtime Error

Solution code:


length =int(input())

s, t = map(int, input().split())

result = ""

for i in s:
  list_t = list(t)
  result = result + s + list_t[i]
 
print(result)

Submission status: Runtime Error

Solution code:
n=int(input())
a,b=[s for s in input().split()]
c=None
for i in range(n):
  c=c+a[i]+b[i]
  
print(c)

Submission status: Runtime Error

Solution code:
num = int(input())

s = input()
t = input()
u =[]

for _ in range(num):
  u.append(s[_] + t[_])

print(''.join(u))

Submission status: Runtime Error

Solution code:

def main():
  a = int(input())
  b = input()
  l = b.split()
  ll = []
  for i in range(0,a * 2):
    str = (b[0] + b[1])[i::4]
    str1 += str
  print(str1)

if __name__ == '__main__':
  main()

Submission status: Runtime Error

Solution code:
num = int(input())

s = input()
t = input()
u =[]

for _ in range(num):
  u.append(s[_] + t[_])

print(''.join(u))

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
t = input()
a=''
for i in range(0,2*n):
    if i % 2 == 0:
        a += s[i//2]
    else:
        a += t[i//2]
print(a)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

ans = [1, 2, 3]
ans.remove(a)
ans.remove(b)

print(ans[0])

Submission status: Runtime Error

Solution code:
N = int(input())
S = input()
T = input()
ans = ''
for i in range(N):
    ans += S[i]
    ans += T[i]
print(ans)

Submission status: Runtime Error

Solution code:
n=int(input())
s,t=input().sprit()
s=list(input())
t=list(input())
a=[]
for i in range(0,n):
  a.append(s[i])
  a.append(t[i])
print(''.join(a))

Submission status: Runtime Error

Solution code:
N = int(input())
s, t = map(str, input().split())

word = ""
for i in range(N):
    word = word + s[i]
    word = word + t[i]

input(word)

Submission status: Runtime Error

Solution code:
n=int(input())
a=str(input())
b=str(input())

a=a[:n]
b=b[:n]
x=0
for i in a:
	print(a[x],b[x],end='')
	x+=1
print()

Submission status: Runtime Error

Solution code:
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

class Main {
    static long MOD = (long)Math.pow(10, 9) + 7;
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        String s = in.next();
        String t = in.next();
        for (int i=0; i<N; i++) {
            System.out.print(s.charAt(i));
            System.out.print(t.charAt(i));
        }
    }
}

Submission status: Runtime Error

Solution code:
N = int(input())
S, T = input().split()
print("".join(map(lambda s,t:f"{s}{t}", S, T)))

Submission status: Runtime Error

Solution code:
N = int(input())
ans = ["0"] * 2N

S, T = input().split()
for i in range(N):
  ans[2*i] = S[i]
  ans[2*i+1] = T[i]

print("".join(ans))

Submission status: Runtime Error

Solution code:
n = int(input())
s, t = input()
l = []
m = []
r = ""
for i in s:
  l.append(i)
for i in t:
  m.append(i)

for i in range(n):
  r += (l[i] + m[i])
print(r)

Submission status: Runtime Error

Solution code:
n = int(input())
l = list(input().split())
s = ""
for i in range(n):
  s += (l[0][n] + l[1][n])
print(s)

Submission status: Runtime Error

Solution code:
n=int(input())
a=input()
b=input()
for i in range(n):
    print(a[i],end="")
    print(b[i],end="")
print()

Submission status: Runtime Error

Solution code:
n = int(input())
a,b = input().split()
for i in range(n):
    str += a[i]+b[i]
print(str)

Submission status: Runtime Error

Solution code:
n = int(input())
string1, string2 = input().split(" ")

for i in range(n):
    print(f"{string1[i]}{string2[i]}",end="")

Submission status: Runtime Error

Solution code:
N = input()
S, T = input().split()
A = String()
for s, t in zip(S, T):
  A += s
  A += t
print(A)

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-
N=int(input())
S,T=map(str,input().split())
for i in range(N):
    ans=ans+S[i]+T[i]
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
l = list(input().split())
for i in range(n):
  print(l[0][n] + l[1][n])

Submission status: Runtime Error

Solution code:
n = input()
s,t = input().split()
for i in range(n):
  print(s[i]+t[i],end='')

Submission status: Runtime Error

Solution code:
a=int(input())
s=input()
d=input()
z=""
for i in range(a):
  z+=s[i]
  z+=d[i]
print(z)

Submission status: Runtime Error

Solution code:
n = int(input())

a = input()
b = input()

res = ""
for i in range(n):
  res += a[i]
  res += b[i]
print(res)

Submission status: Runtime Error

Solution code:
# @Author: Amit Dwivedi
# @Date:   2019-12-22 11:55:43
# @Last Modified by:   Amit Dwivedi
# @Last Modified time: 2019-12-22 12:04:16
ll= lambda : list(map(int,input().split()))
testcases=1
# testcases=int(input())
for testcase in range(testcases):
	[n] = ll()
	s,t = input().split()
	for i in range(n):
		print(s[i],t[i],sep = "",end =

Submission status: Runtime Error

Solution code:
N = int(intput())
arr = input().split()
for i in range(0,N):
  print(arr[0][i])
  print(arr[1][i])

Submission status: Runtime Error

Solution code:

ans = ""
for i in range(n):
    ans += s[i]
    ans += t[i]

print(ans)

Submission status: Runtime Error

Solution code:
from collections import defaultdict
import sys
import math
from datetime import datetime
import re
import math
def sol(n, S, T):
    ans = ""
    for i in range(n):
        ans += S[i]
        ans += T[i]
    return ans





do_submit = True
#do_submit = False

def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    # n = int(parsed_lines[0][0])
    # k = int(parsed_lines[0][1])
    S = parsed_lines[0][0]
    return S


if not do_submit:
    S = input_parse("""
    1905
    """)
    print(sol(S))

    S = input_parse("""
    0112
    """)
    print(sol(S))

    S = input_parse("""
    1700
    """)
    print(sol(S))

    S = input_parse("""
    0000
    """)
    print(sol(S))

    S = input_parse("""
    1001
    """)
    print(sol(S))



else:
    #A, B = list(map(int, input().split()))
    n = int(input())
    S = input()
    T = input()
    print(sol(n, S, T))

    # S = input().strip()
    # print(sol(S))

Submission status: Runtime Error

Solution code:
N = int(input())
S, T = input().split()

result = []
for s, t in S, T:
    result.append(s)
    result.append(t)
    
print(''.join(result))

Submission status: Runtime Error

Solution code:
n=int(input())
s,t=input().split()
a=""
for i , j in (s,t):
  a+=i
  a+=j
print(a)

Submission status: Runtime Error

Solution code:
n = int(input())
a = input()
b = input()
res = ''
for i in range(len(a)):
    res += a[i]
    res += b[i]
print(res)

Submission status: Runtime Error

Solution code:
N= int(input())
S = input()
T = input()
ans = ""
for i in range(N):
  ans = ans+S[i]+T[i]
print(ans)

Submission status: Runtime Error

Solution code:
N = int(input())
S = list(input())
T = list(input())
ans = ""
for i in range(N):
  ans += S[i] + T[i]
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
things = input().split()
s = ""
for i in range(n):
  s += thing[0][i]
  s += thing[1][i]
print(s)

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
print("".jion(s.split()))

Submission status: Runtime Error

Solution code:
n=int(input())
s,t=input().split()
for i in range(n):
    print(f"{s[i]}{t[i]}",end="")
print()