You are given an encrypted string, encrypted using a certain algorithm. Decrypt it!
Encryption algorithm gives a string t of length n and converts it to a pair (s, a) where s is a string of length n and a is a sequence of integers of length n - 2.
The first line, contains an integer n. (3 ≤ n ≤ 105).
The second line, contains string s. The third line contains n - 2 integers a1, a2, ..., an - 2 seperated by space.
Each character of s is a lower case English letter (1 ≤ ai ≤ n and 1 ≤ i ≤ n - 2).
Print t in the only line of output.
7
chzhare
7 6 1 1 2
charzeh
7
youfise
4 4 2 4 2
yousefi
3
mmt
3
mmt
12
crpogprhitay
4 5 4 1 2 6 2 4 12 8
cryptographi
4
shti
3 1
shit
4
bull
1 2
bull