#26210: __py


810054@gm.flhs.ptc.edu.tw (冬夜)


17mb 是我的極限了

n,p=int(input()),input()

print(p[0:n*n:n+1])