100 atcoder#ABC218B. [ABC218B] qwerty

[ABC218B] qwerty

Score : 200200 points

Problem Statement

You are given a sequence of 2626 integers P=(P1,P2,,P26)P=(P_1,P_2, \ldots ,P_{26}) consisting of integers from 11 through 2626. It is guaranteed that all elements in PP are distinct.

Print a string SS of length 2626 that satisfies the following condition.

  • For every ii (1i26)(1 \leq i \leq 26), the ii-th character of SS is the lowercase English letter that comes PiP_i-th in alphabetical order.

Constraints

  • 1Pi261 \leq P_i \leq 26
  • PiPjP_i \neq P_j (ij)(i \neq j)
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

P1P_1 P2P_2 \ldots P26P_{26}

Output

Print the string SS.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
abcdefghijklmnopqrstuvwxyz
2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
bacdefghijklmnopqrstuvwxyz
5 11 12 16 25 17 18 1 7 10 4 23 20 3 2 24 26 19 14 9 6 22 8 13 15 21
eklpyqragjdwtcbxzsnifvhmou