#codefestival2016qualAc. [codefestival_2016_qualA_c]Next Letter
[codefestival_2016_qualA_c]Next Letter
Problem Statement
Mr. Takahashi has a string consisting of lowercase English letters. He repeats the following operation on exactly times.
- Choose an arbitrary letter on and change that letter to the next alphabet. Note that the next letter of
z
isa
.
For example, if you perform an operation for the second letter on aaz
, aaz
becomes abz
. If you then perform an operation for the third letter on abz
, abz
becomes aba
.
Mr. Takahashi wants to have the lexicographically smallest string after performing exactly operations on . Find the such string.
Constraints
- All letters in are lowercase English letters.
Input
The input is given from Standard Input in the following format:
Output
Print the lexicographically smallest string after performing exactly operations on .
Sample Input 1
xyz
4
Sample Output 1
aya
For example, you can perform the following operations: xyz
, yyz
, zyz
, ayz
, aya
.
Sample Input 2
a
25
Sample Output 2
z
You have to perform exactly operations.
Sample Input 3
codefestival
100
Sample Output 3
aaaafeaaivap