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: Accepted

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

ans = ''
for ss, tt in zip(s, t):
    ans += ss+tt

print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
from __future__ import division, print_function

import os
import sys
from io import BytesIO, IOBase

if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip


def main():
    n = int(input())
    s, t = input().split()

    for i, j in zip(s, t):
        print(i, j, sep='', end='')
    print()


# region fastio

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)

input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
n=int(input())
A,B=input().split()
for i in range(n):
	print(A[i],end="")
	print(B[i],end="")

Submission status: Accepted

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

ans = ''

for i in range(N):
    ans += S[i]
    ans += T[i]

print(ans)

Submission status: Accepted

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

for i in range(N):
    print(S[i], end='')
    print(T[i], end='')

print()

Submission status: Accepted

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

ans = ""
for s,t in zip(S,T):
    ans += s + t
print(ans)

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

lst = []
for i in range(N):
    lst.append(S[i])
    lst.append(T[i])
print("".join(lst))

Submission status: Accepted

Solution code:
N=int(input())
st=input().split(" ")
out=""
for i in range(N):
  out+=st[0][i]+st[1][i]
print(out)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
Ss, Ts = input().split()

anss = ''
for S, T in zip(Ss, Ts):
    anss += S+T

print(anss)

Submission status: Accepted

Solution code:
def main():
    N = int(input())
    S, T = input().split()
    x = []
    for s, t in zip(S, T):
        x.append(s)
        x.append(t)
    print(''.join(x))


main()

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

ri = lambda: int(input())
rs = lambda: input().rstrip()
ril = lambda: list(map(int, input().split()))
rsl = lambda: input().rstrip().split()
ris = lambda n: [ri() for _ in range(n)]
rss = lambda n: [rs() for _ in range(n)]
rils = lambda n: [ril() for _ in range(n)]
rsls = lambda n: [rsl() for _ in range(n)]

n = ri()
s, t = rsl()
res = ''
for c0, c1 in zip(s, t):
    res += c0 + c1
print(res)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1000000000)
from itertools import count
from functools import lru_cache
from collections import defaultdict
from pprint import pprint
ii = lambda: int(input())
mis = lambda: map(int, input().split())
lmis = lambda: list(mis())
INF = float('inf')
N1097 = 10**9 + 7

def meg(f, ok, ng):
    while abs(ok-ng)>1:
        mid = (ok+ng)//2
        if f(mid):
            ok=mid
        else:
            ng=mid
    return ok
#

def main():
    N = ii()
    S, T = input().split()
    for s, t in zip(S, T):
        print(s, t, sep='', end='')


main()

Submission status: Accepted

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

for i in range(N):
    ans += S[i]
    ans += T[i]

print(ans)

Submission status: Accepted

Solution code:
import math

def makelist(n, m):
    return [[0 for _ in range(m)] for _ in range(n)]

# n = int(input())
# a, b = list(map(int, input().split()))
# 

N = int(input())
S, T = input().split()

ans = []
for i in range(N):
    ans.append(S[i])
    ans.append(T[i])

print("".join(ans))

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**6)
if sys.platform in (['ios','darwin','win32']):
	sys.stdin=open('Untitled.txt')
input = sys.stdin.readline
def INT(): return int(input())
def MAP(): return [int(s) for s in input().split()]

def main():
	N = INT()
	S, T = input().split()

	ans = ""
	for i in range(N):
		ans += S[i]
		ans += T[i]

	print(ans)

if __name__ == '__main__':
	main()

Submission status: Accepted

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

ans = ''
for s, t in zip(S, T):
    ans += s+t
print(ans)

Submission status: Accepted

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

ans = ""
for i in range(N):
  ans += S[i] + T[i]

print(ans)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
n=int(input())
s,t=input().split()
s=list(s)
t=list(t)
ans=''
for i in range(n):
    ans+=s[i]
    ans+=t[i]
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

z = []
for i in range(n):
    z.append(s[i] + t[i])
z = ''.join(z)
print(z)

Submission status: Accepted

Solution code:
n=int(input())
s,t=input().split()
l=[]
for i in range(n):
  l.append(s[i])
  l.append(t[i])
print(''.join(l))

Submission status: Accepted

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

ret = ''
for s_, t_ in zip(S, T):
    ret += s_ + t_
print(ret)

Submission status: Accepted

Solution code:
N=int(input())
S, T=input().split()
for i in range(N):
  print(S[i], end='')
  print(T[i], end='')

Submission status: Accepted

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

ans = ""

for s, t in zip(S, T):
    ans += s + t

print(ans)

Submission status: Accepted

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
import math
import bisect
import random
from itertools import permutations, accumulate, combinations, product
import sys
import string
from bisect import bisect_left, bisect_right
from math import factorial, ceil, floor
from operator import mul
from functools import reduce


sys.setrecursionlimit(2147483647)
INF = 1 << 100
def LI(): return list(map(int, sys.stdin.buffer.readline().split()))
def I(): return int(sys.stdin.buffer.readline())
def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()
def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8')
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
def SRL(n): return [list(S()) for i in range(n)]
def MSRL(n): return [[int(j) for j in list(S())] for i in range(n)]
mod = 1000000007


n = I()
a, b = LS()
ans = ''
for i in range(n):
    ans += a[i]
    ans += b[i]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
input = sys.stdin.readline

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**9)
INF=10**18
def input():
    return sys.stdin.readline().rstrip()

def main():
    N=int(input())
    S,T=input().split()
    ans=''
    for i in range(N*2):
        if i%2==0:
            ans+=S[i//2]
        else:
            ans+=T[i//2]
    print(ans)
    

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import bisect
import heapq
import math
import random
import sys
from collections import Counter, defaultdict, deque
from decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal
from functools import lru_cache, reduce
from itertools import combinations, combinations_with_replacement, product, permutations
from operator import add, mul, sub

sys.setrecursionlimit(100000)
input = sys.stdin.readline
INF = 2**62-1

def read_int():
    return int(input())


def read_int_n():
    return list(map(int, input().split()))


def read_float():
    return float(input())


def read_float_n():
    return list(map(float, input().split()))


def read_str():
    return input().strip()


def read_str_n():
    return list(map(str, input().split()))


def error_print(*args):
    print(*args, file=sys.stderr)


def mt(f):
    import time

    def wrap(*args, **kwargs):
        s = time.time()
        ret = f(*args, **kwargs)
        e = time.time()

        error_print(e - s, 'sec')
        return ret

    return wrap


@mt
def slv(S, T):
    ans = []
    for a, b in zip(S, T):
        ans.append(a)
        ans.append(b)

    return ''.join(ans)


def main():
    N = read_int()
    S, T = read_str_n()
    print(slv(S, T))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

ans = ""
for se, te in zip(s, t):
    ans += se + te

print(ans)

Submission status: Accepted

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

for i in range(N):
    ans += S[i]
    ans += T[i]

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import math
MAX_INT = int(10e15)
MIN_INT = -MAX_INT
mod = 1000000007
sys.setrecursionlimit(1000000)
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

N = I()
s, t = SL()

ans = ""
for ss,tt in zip(s,t):
  ans += ss
  ans += tt
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(N):
    print (S[i], end = '')
    print (T[i], end = '')

print ()

Submission status: Accepted

Solution code:
def main():
    n = int(input())
    a, b = input().split()
    ans = []
    for i in range(n):
        ans.append(a[i])
        ans.append(b[i])
    print("".join(ans))


main()

Submission status: Accepted

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

answer=""

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

print(answer)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

ANS=""
for i in range(N):
    ANS+=S[i]
    ANS+=T[i]

print(ANS)

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  n=I()
  s,t=LS()

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

  return ans

# main()
print(main())

Submission status: Accepted

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

ans = []
for i in range(N):
    ans.append(s[i])
    ans.append(t[i])
print(''.join(ans))

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
import sys
import bisect
import math
import itertools
import string
import queue
import copy
from itertools import permutations, combinations
from heapq import heappop, heappush
# input = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7
 
def inp(): # n=1
    return int(input())
def inpm(): # x=1,y=2
    return map(int,input().split())
def inpl(): # a=[1,2,3,4,5,...,n]
    return list(map(int, input().split()))
def inpls(): # a=['1','2','3',...,'n']
    return list(input().split())
def inplm(n): # x=[] 複数行
    return list(int(input()) for _ in range(n))
def inpll(n): # [[1,1,1,1],[2,2,2,2],[3,3,3,3]]
    return [list(map(int, input().split())) for _ in range(n)]


def main():
    n=inp()
    st = inpls()
    s = st[0]
    t = st[1]
    ans = []
    for i in range(n):
        ans.append(s[i])
        ans.append(t[i])
    print(''.join(ans))
    

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
N = int(input())
ans = ''

S, T = list(input().split())

for s, t in zip(S, T):
    ans += s + t
print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python

from collections import deque, defaultdict
import itertools as ite
import sys
import math
import decimal

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

N = input()
S, T = raw_input().split()
S2 = ""
for i in range(N):
    S2 += S[i]
    S2 += T[i]
print S2

Submission status: Accepted

Solution code:

N = int(input())
S,T = input().split()

ans = ""

for i in range(N):
    ans += S[i]
    ans += T[i]

print (ans)

Submission status: Accepted

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

ans = ""

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

print(ans)

Submission status: Accepted

Solution code:
N = int(input())
S, T = input().split()
# print(N,S,T)
result = ""
for s, t in zip(S,T):
    result += s
    result += t
print(result)

Submission status: Accepted

Solution code:
N = int(input())
S,T = map(str,input().split())
ans = S[0] + T[0]
for i in range(1,N):
    ans += S[i]
    ans += T[i]
print(ans)

Submission status: Accepted

Solution code:
def p_b():
    n = int(input())
    s, t = input().split()
    ans = ""
    for i in range(n):
        ans += s[i]
        ans += t[i]
    print(ans)
    
p_b()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def solve():
    N=int(input())
    T,S=input().split()
    out=""
    for t,s in zip(T,S):
        out+=t+s
    return out
print(solve())

Submission status: Accepted

Solution code:
n=int(input())
s,t=input().split()
ans=""
for x,y in zip(s,t):
  ans+=x+y
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def main():
    # input = sys.stdin.readline
    N = list(input())
    S, T = input().split()

    new_string = ''
    for s, t in zip(S, T):
        new_string += s
        new_string += t

    print(new_string)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

ans = ""
for s, t in zip(S, T):
    ans += s
    ans += t

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

    N = int(input())
    S, T = input().split()
    ans = ""
    for i in range(N):
        ans += S[i] + T[i]
    return ans

if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
n = int(input())
st = input().split()

ans = ''
for i in range(n):
    ans += st[0][i] + st[1][i]
print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


def solve(N: int, S: str, T: str):
    ans = []
    for s, t in zip(S, T):
        ans.extend([s, t])
    print("".join(ans))
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    S = next(tokens)  # type: str
    T = next(tokens)  # type: str
    solve(N, S, T)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
minans = inf ;ans = 0 ;count = 0 ;pro = 1

n=int(input())
s,t=input().split()
ans=[]
for i in range(n):
    ans.append(s[i])
    ans.append(t[i])
print(*ans,sep="")

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

def solve():
    n = I()
    s,t = input().split()
    for i in range(2*n):
        if not i%2:
            print(s[i//2],end ="")
        else:
            print(t[i//2],end = "")
    print()
    return

#Solve
if __name__ == "__main__":
    solve()

Submission status: Accepted

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

ans = []
for i in range(n):
    ans.append(s[i])
    ans.append(t[i])
print("".join(ans))

Submission status: Accepted

Solution code:
#
# 　　  ⋀_⋀　 
#　　  (･ω･)  
# .／ Ｕ ∽ Ｕ＼
#  │＊　合　＊│
#  │＊　格　＊│ 
#  │＊　祈　＊│ 
#  │＊　願　＊│ 
#  │＊　　　＊│ 
#      ￣
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,ceil,sqrt,factorial,hypot,log #log2ないｙｐ
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    N=I()
    S,T=ST().split()
    ans = ""
    for i in range(N):
        ans += S[i]+T[i]
    print(ans)
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

N = int(input())
S, T = map(str, input().split())

for s, t in zip(S, T):
    print(s, t, sep='', end='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
S, T = input().split()
ans = []
for i in range(N):
    ans.append(S[i])
    ans.append(T[i])

print(''.join(ans))

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
mod2 = 998244353
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

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

Submission status: Accepted

Solution code:
n = int(input())
s,t = input().split()
ans = ""
x = 0
y = 0
for i in range(2*n):
    if i%2 == 0:
        ans += s[x]
        x += 1
    else:
        ans += t[y]
        y +=1

print(ans)

Submission status: Accepted

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

U = ''
for s, t in zip(S, T) :
  U += s
  U += t
  
print(U)

Submission status: Accepted

Solution code:
N = int(input())
S, T = input().split()
ans = ''
for i, j in zip(S,T):
    ans += i+j
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    input()
    s,t=input().split()
    ans=""
    for c0,c1 in zip(s,t):
        ans+=c0
        ans+=c1
    print(ans)
main()

Submission status: Accepted

Solution code:

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

ANS = []
for i in range(n):
    ANS.append(s[i])
    ANS.append(t[i])
print("".join(ANS))

Submission status: Accepted

Solution code:
n = int(input())
def f(x):
    return x
s,t = map(f,input().split())

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())
S,T=map(str,input().split())

ans=''
for i in range(n):
  ans+=S[i]
  ans+=T[i]
print(ans)

Submission status: Accepted

Solution code:
_ = input()
S,T = input().strip().split(' ')
print(''.join(s+t for s,t in zip(S,T)))

Submission status: Accepted

Solution code:
import bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import re
import string
import sys
from collections import Counter, deque, defaultdict
from copy import deepcopy
from decimal import Decimal
from fractions import gcd
from functools import lru_cache, reduce
from operator import itemgetter, mul, add, xor

import numpy as np

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
# MOD = 998244353

N = int(sys.stdin.buffer.readline())
S, T = sys.stdin.buffer.readline().decode().rstrip().split()
for c, d in zip(S, T):
    print(c + d, end='')
print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=int(input())
S,T=input().split()
for i,j in zip(S,T):
    print(i,j,sep="",end="")

Submission status: Accepted

Solution code:
a = int(input())
b, c = input().split()
for i in range(a):
  print(b[i], c[i], sep='', end='')

Submission status: Accepted

Solution code:
import itertools, heapq, bisect
from collections import defaultdict as ddic, deque, Counter

rr = raw_input
rri = lambda: int(raw_input())
rrm = lambda: map(int, raw_input().split())
MOD = 10 ** 9 + 7

###
N = rri()
S, T = rr().split()

ans = []
for i in xrange(N):
    ans.append(S[i])
    ans.append(T[i])
print "".join(ans)

Submission status: Accepted

Solution code:
n= int(input())
ans = ""
s,ss = map(str,input().split())
for i in range(n):
  ans += s[i]
  ans += ss[i]
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
ans=s[0]+t[0]
s,t=input().split()
for i in range(1,n):
    ans=ans+s[i]+t[i]
print(ans)

Submission status: Runtime Error

Solution code:
n=int(input().split())
ans=s[0]+t[0]
s,t=input().split()
for i in range(1,n):
    ans=ans+s[i]+t[i]
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def String():
    k=int(input('1-string length(input a number)'))
    b=[input('2-the first string and 3-the second string') for i in range(0,2)]
    
    fs=[]
    ss=[]
    ans=[]

   
    for i in b[0]:
        fs.append(i)

    for i in b[1]:
        ss.append(i)

    if len(fs)==k:
        if len(ss)==k:
            for i in fs:
                ans.append(i)
            for k in ss:
                ans.append(k)

            for a in ans:
                print(a,end='')
            
        else:
            print('Please try it again')
            String()
    else:
        print('Please try it again')
        String()



String()

Submission status: Runtime Error

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

l = []
for i in range(N):
  l.append(S[i])
  l.append(T[i])
  
print("".join(l))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
s,t=input().split()
s=list(s)
t=list(t)
k=""
for i in range(n):
    k.append(s[i])
    k.append(t[i])
print(k)

Submission status: Runtime Error

Solution code:

n=int(input())
s,t=list(map(str,input().split()))
k=""
for i in range(n):
    k.append(s[i])
    k.append(t[i])
print(k,sep="")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s, t = map(str, input().split())
out = [si+ti for si, ti in zip(s, t)]
print("".join(out))

Submission status: Runtime Error

Solution code:
#https://atcoder.jp/contests/abc148/tasks/abc148_b
N = int(input())
a,b = map(int,input().split())
moji = ""
for i in range(N):
    moji += a[i]+b[i]

print(moji)

Submission status: Runtime Error

Solution code:
#include<iostream>
using namespace std;
int main()
{
  int n,i;
  cin >> n;
  char ch[(2*n)+1];
  for(i=0;i<2*n;i=i+2)
  {
    cin >> ch[i];
  }
  for(i=1;i<=2*n;i=i+2)
  {
    cin >> ch[i];
  }
  while(i!=(2*n)+1)
  {
    cout << ch[i];
  }
  return 0;
}

Submission status: Runtime Error

Solution code:
N = input()
S = input()
T = input()
for i in range (0,2*N):
  str=" "
  str = S[i]+T[i]+str 
print(str)

Submission status: Runtime Error

Solution code:
N = input()
S = input()
T = input()
for i in range (0,2*N):
  str=" "
  str = S[i]+T[i]+str
  
  
print(str)

Submission status: Runtime Error

Solution code:
n = int(input())
s =  input()
t = input()

for (ele,mele) in zip(s,t):
    print(ele+mele,end="")