// Bear and String Distance, by Errichto
#include<bits/stdc++.h>
using namespace std;
const int nax = 1e6 + 5;
char s[nax];
int main() {
int n, k;
scanf("%d%d", &n, &k);
scanf("%s", s);
for(int i = 0; i < n; ++i) {
// we want to change s[i]
char best_letter = s[i]; // by default we don't change it at all
int best_distance = 0;
for(char maybe = 'a'; maybe <= 'z'; ++maybe) {
int distance = abs(maybe - s[i]);
// we must check if "distance <= k" because we don't want to exceed the total distance
// among letters with "distance <= k" we choose the most distant one
if(distance <= k && distance > best_distance) {
best_distance = distance;
best_letter = maybe;
}
}
k -= best_distance; // we decrease the remaining distance
s[i] = best_letter;
}
assert(k >= 0);
// we found a correct s' only if "k == 0"
if(k > 0) puts("-1");
else printf("%s\n", s);
return 0;
}
Ly8gQmVhciBhbmQgU3RyaW5nIERpc3RhbmNlLCBieSBFcnJpY2h0bwojaW5jbHVkZTxiaXRzL3N0ZGMrKy5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IG5heCA9IDFlNiArIDU7CmNoYXIgc1tuYXhdOwoKaW50IG1haW4oKSB7CglpbnQgbiwgazsKCXNjYW5mKCIlZCVkIiwgJm4sICZrKTsKCXNjYW5mKCIlcyIsIHMpOwoJZm9yKGludCBpID0gMDsgaSA8IG47ICsraSkgewoJCS8vIHdlIHdhbnQgdG8gY2hhbmdlIHNbaV0KCQljaGFyIGJlc3RfbGV0dGVyID0gc1tpXTsgLy8gYnkgZGVmYXVsdCB3ZSBkb24ndCBjaGFuZ2UgaXQgYXQgYWxsCgkJaW50IGJlc3RfZGlzdGFuY2UgPSAwOwoJCWZvcihjaGFyIG1heWJlID0gJ2EnOyBtYXliZSA8PSAneic7ICsrbWF5YmUpIHsKCQkJaW50IGRpc3RhbmNlID0gYWJzKG1heWJlIC0gc1tpXSk7CgkJCS8vIHdlIG11c3QgY2hlY2sgaWYgImRpc3RhbmNlIDw9IGsiIGJlY2F1c2Ugd2UgZG9uJ3Qgd2FudCB0byBleGNlZWQgdGhlI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