Cocktail With Swap
题号:NC222152
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Mr. Cocktail get a string contain  characters. The character in the string from left to right respective marked as a_1, a_2 ... a_n. This string consists of lowercase letters only.

Cocktail can perform unlimited times exchange operations on this string. Each operation can choose two digits , satisfying , and exchange the letters in these two positions----That is, a_i, a_j.
Cocktail hopes that the lexicographical order of this string after several exchanges is the smallest. Now given this string and , please output a string representing the smallest lexicographical order that Cocktail can achieve after several operations.

输入描述:

In the first line, input three integer, indicating , the meaning is shown in the statement. 

The next line input a string  of length .Represents the initial string.

输出描述:

Output a string representing the smallest lexicographical string reached after several operations with follow the rules as statement describe. 
示例1

输入

复制
5 1 1
edcba

输出

复制
abcde
示例2

输入

复制
5 4 4
edcba

输出

复制
adcbe