Problem2230--qwerty

2230: qwerty

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

Score : 200200 points

Problem Statement

You are given a sequence of 2626 integers P=(P1,P2, .... p26) 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 (1 \leq i \leq 26)(1i26), the ii-th character of SS is the lowercase English letter that comes P_iPi-th in alphabetical order.

Constraints

  • 1 \leq P_i \leq 261Pi26
  • P_i \neq P_jPi=Pj (i \neq j)(i=j)
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

P1,P2, .... p26

Output

Print the string SS.

Sample Input Copy

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

Sample Output Copy

bacdefghijklmnopqrstuvwxyz

Source/Category